aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorvapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-02-07 06:10:45 +0000
committervapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-02-07 06:10:45 +0000
commitc03fde45104f4ae53a3030cfd23f2f8db812f2f3 (patch)
treede364b0966d3085d79cd2fc5f53de050eea066eb /util-linux
parent2956e833213350758cdb8fb4e45c61d3f7cd2def (diff)
downloadbusybox-w32-c03fde45104f4ae53a3030cfd23f2f8db812f2f3.tar.gz
busybox-w32-c03fde45104f4ae53a3030cfd23f2f8db812f2f3.tar.bz2
busybox-w32-c03fde45104f4ae53a3030cfd23f2f8db812f2f3.zip
add back in path nulling after calling find_dev() since it is needed for now ...
git-svn-id: svn://busybox.net/trunk/busybox@13870 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/mdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util-linux/mdev.c b/util-linux/mdev.c
index aef84ac45..f6d4d8df0 100644
--- a/util-linux/mdev.c
+++ b/util-linux/mdev.c
@@ -197,6 +197,7 @@ static void find_dev(char *path)
197 if (entry->d_type == DT_DIR) { 197 if (entry->d_type == DT_DIR) {
198 snprintf(path+len, PATH_MAX-len, "/%s", entry->d_name); 198 snprintf(path+len, PATH_MAX-len, "/%s", entry->d_name);
199 find_dev(path); 199 find_dev(path);
200 path[len] = 0;
200 } 201 }
201 202
202 /* If there's a dev entry, mknod it */ 203 /* If there's a dev entry, mknod it */