[BusyBox-cvs] busybox/miscutils devfsd.c,1.6,1.7

Glenn McGrath bug1 at busybox.net
Wed Feb 4 08:27:59 UTC 2004


Update of /var/cvs/busybox/miscutils
In directory nail:/tmp/cvs-serv15074/miscutils

Modified Files:
	devfsd.c 
Log Message:
Bug fix from Tito.


Index: devfsd.c
===================================================================
RCS file: /var/cvs/busybox/miscutils/devfsd.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- devfsd.c	19 Dec 2003 11:07:58 -0000	1.6
+++ devfsd.c	4 Feb 2004 08:27:57 -0000	1.7
@@ -837,10 +837,11 @@
 	/*  Discard lookups on "/dev/log" and "/dev/initctl"  */
 	if(   info->type == DEVFSD_NOTIFY_LOOKUP &&
 		((info->devname[0]=='l' && info->devname[1]=='o' &&
-		  info->devname[2]=='g' && !info->devname[3]) &&
+		  info->devname[2]=='g' && !info->devname[3]) ||
 		( info->devname[0]=='i' && info->devname[1]=='n' &&
-		  info->devname[2]=='i' && info->devname[3]=='c' &&
-		  info->devname[4]=='t' && info->devname[5]=='l' && !info->devname[6])))
+		  info->devname[2]=='i' && info->devname[3]=='t' &&
+		  info->devname[4]=='c' && info->devname[5]=='t' &&
+		  info->devname[6]=='l' && !info->devname[7])))
 			return;
 	for (entry = first_config; entry != NULL; entry = entry->next)
 	{




More information about the busybox-cvs mailing list