$NetBSD: patch-as,v 1.1 2005/10/31 01:52:36 dbj Exp $

--- libidu/idfile.c.orig	Tue Jul  9 00:19:08 1996
+++ libidu/idfile.c	Wed Jun  8 17:44:53 2005
@@ -85,7 +85,7 @@
       if (stat (file_name_buffer, &statb) != 0)
 	return NULL;
     }
-  while (!((statb.st_ino == rootb.st_ino) ||
+  while (!((statb.st_ino == rootb.st_ino) &&
 	   (statb.st_dev == rootb.st_dev)));
   return NULL;
 }
