$NetBSD: patch-aa,v 1.3 2003/07/22 14:08:23 wiz Exp $

--- src/gdl.c.orig	Mon Jun 30 08:48:47 2003
+++ src/gdl.c
@@ -740,7 +740,7 @@ static int append_this_range_entry_to_fi
 		}
 		if(have!=want)
 		{
-			a=ENODATA;			/* set the error message to "no data available */
+			a=ENOMSG;			/* set the error message to "no data available */
 			break;
 		}
 
