$OpenBSD: patch-src_gdl_c,v 1.3 2008/08/25 15:14:43 jasper Exp $ --- src/gdl.c.orig Thu Aug 21 21:26:23 2008 +++ src/gdl.c Thu Aug 21 21:26:58 2008 @@ -748,7 +748,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; }