projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27a74e8
)
add back in path nulling after calling find_dev() since it is needed for now ...
author
Mike Frysinger
<vapier@gentoo.org>
Tue, 7 Feb 2006 06:10:45 +0000
(06:10 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Tue, 7 Feb 2006 06:10:45 +0000
(06:10 -0000)
util-linux/mdev.c
patch
|
blob
|
history
diff --git
a/util-linux/mdev.c
b/util-linux/mdev.c
index aef84ac458204fbe5ab0d62f4684951d6ea9c18e..f6d4d8df00c103ef4ec7af8bf699b75a9f6352c6 100644
(file)
--- a/
util-linux/mdev.c
+++ b/
util-linux/mdev.c
@@
-197,6
+197,7
@@
static void find_dev(char *path)
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 */