add back in path nulling after calling find_dev() since it is needed for now ...
This commit is contained in:
parent
27a74e8017
commit
271aa40a15
@ -197,6 +197,7 @@ static void find_dev(char *path)
|
|||||||
if (entry->d_type == DT_DIR) {
|
if (entry->d_type == DT_DIR) {
|
||||||
snprintf(path+len, PATH_MAX-len, "/%s", entry->d_name);
|
snprintf(path+len, PATH_MAX-len, "/%s", entry->d_name);
|
||||||
find_dev(path);
|
find_dev(path);
|
||||||
|
path[len] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If there's a dev entry, mknod it */
|
/* If there's a dev entry, mknod it */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user