From: Mike Frysinger Date: Tue, 7 Feb 2006 06:10:45 +0000 (-0000) Subject: add back in path nulling after calling find_dev() since it is needed for now ... X-Git-Tag: 1_1_0~235 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=271aa40a15be3d111f2016e24832a86657661cca;p=oweals%2Fbusybox.git add back in path nulling after calling find_dev() since it is needed for now ... --- 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) 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 */