svn commit: trunk/busybox/util-linux

vapier at busybox.net vapier at busybox.net
Tue Feb 7 06:10:47 UTC 2006


Author: vapier
Date: 2006-02-06 22:10:45 -0800 (Mon, 06 Feb 2006)
New Revision: 13870

Log:
add back in path nulling after calling find_dev() since it is needed for now ...

Modified:
   trunk/busybox/util-linux/mdev.c


Changeset:
Modified: trunk/busybox/util-linux/mdev.c
===================================================================
--- trunk/busybox/util-linux/mdev.c	2006-02-07 05:10:21 UTC (rev 13869)
+++ trunk/busybox/util-linux/mdev.c	2006-02-07 06:10:45 UTC (rev 13870)
@@ -197,6 +197,7 @@
 		if (entry->d_type == DT_DIR) {
 			snprintf(path+len, PATH_MAX-len, "/%s", entry->d_name);
 			find_dev(path);
+			path[len] = 0;
 		}
 
 		/* If there's a dev entry, mknod it */




More information about the busybox-cvs mailing list