diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-10-22 10:10:50 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-10-22 10:10:50 +0000 |
commit | 3a3c4405c8d7176d39ff72a3e26febd1a6b6f3e4 (patch) | |
tree | 6bd1b91d4e51d8ce84258a8c3c44092133882e92 /miscutils/devfsd.c | |
parent | f5b2ef1fa680a60365df732e61ea814a492b3cdf (diff) | |
download | busybox-w32-3a3c4405c8d7176d39ff72a3e26febd1a6b6f3e4.tar.gz busybox-w32-3a3c4405c8d7176d39ff72a3e26febd1a6b6f3e4.tar.bz2 busybox-w32-3a3c4405c8d7176d39ff72a3e26febd1a6b6f3e4.zip |
Tito writes:
Hi to all,
I'm sorry but I didn't spot this big fat bug until now,
Matteo Croce emailed me about it.
Please apply this patch as the devfsd applet is broken
and works only on a system booted with a standard devfsd
( the test I mostly did :-( ), but if used at boot time
it DOESN'T WORK.
Thanks in advance and please apply
Tito
git-svn-id: svn://busybox.net/trunk/busybox@7693 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'miscutils/devfsd.c')
-rw-r--r-- | miscutils/devfsd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c index e6316d686..e5d550835 100644 --- a/miscutils/devfsd.c +++ b/miscutils/devfsd.c | |||
@@ -1426,15 +1426,14 @@ static int mksymlink (const char *oldpath, const char *newpath) | |||
1426 | 1426 | ||
1427 | static int make_dir_tree (const char *path) | 1427 | static int make_dir_tree (const char *path) |
1428 | /* [SUMMARY] Creating intervening directories for a path as required. | 1428 | /* [SUMMARY] Creating intervening directories for a path as required. |
1429 | <path> The full pathname (including he leaf node). | 1429 | <path> The full pathname (including the leaf node). |
1430 | [RETURNS] TRUE on success, else FALSE. | 1430 | [RETURNS] TRUE on success, else FALSE. |
1431 | */ | 1431 | */ |
1432 | { | 1432 | { |
1433 | #ifdef CONFIG_DEVFSD_DEBUG | 1433 | #ifdef CONFIG_DEVFSD_DEBUG |
1434 | msg_logger( NO_DIE, LOG_INFO, "make_dir_tree()\n"); | 1434 | msg_logger( NO_DIE, LOG_INFO, "make_dir_tree()\n"); |
1435 | #endif | 1435 | #endif |
1436 | 1436 | if (bb_make_directory( dirname((char *)path), S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH ,FILEUTILS_RECUR )==-1) | |
1437 | if (bb_make_directory( (char *)path, S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH , FILEUTILS_RECUR )==-1) | ||
1438 | { | 1437 | { |
1439 | #ifdef CONFIG_DEVFSD_VERBOSE | 1438 | #ifdef CONFIG_DEVFSD_VERBOSE |
1440 | msg_logger( NO_DIE, LOG_ERR, "make_dir_tree(): %s: %m\n", path); | 1439 | msg_logger( NO_DIE, LOG_ERR, "make_dir_tree(): %s: %m\n", path); |