$OpenBSD: patch-src_gdl_c,v 1.1.1.1 2002/01/31 12:21:53 naddy Exp $
--- src/gdl.c.orig	Fri Jan 25 17:37:57 2002
+++ src/gdl.c	Mon Jan 28 12:12:27 2002
@@ -583,7 +583,7 @@ static int append_this_range_entry_to_fi
 		}
 		if(have!=want)
 		{
-			a=ENODATA;			/* set the error message to "no data available */
+			a=EIO;			/* set the error message to "Input/output error" */
 			break;
 		}
 
