$NetBSD: patch-aa,v 1.4 2010/06/02 13:07:12 adam Exp $

--- src/gdl.c.orig	2003-12-28 08:12:38.000000000 +0000
+++ src/gdl.c
@@ -748,7 +748,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;
 		}
 
