$OpenBSD: patch-src_gdl_c,v 1.2 2007/12/11 11:04:58 jakemsr Exp $
--- src/gdl.c.orig	Fri Jan 25 08:37:57 2002
+++ src/gdl.c	Tue Dec 11 00:04:50 2007
@@ -583,7 +583,7 @@ static int append_this_range_entry_to_file(FILE *f, un
 		}
 		if(have!=want)
 		{
-			a=ENODATA;			/* set the error message to "no data available */
+			a=EIO;			/* set the error message to "Input/output error" */
 			break;
 		}
 
