diff options
author | Eric Andersen | 1999-11-13 04:47:09 +0000 |
---|---|---|
committer | Eric Andersen | 1999-11-13 04:47:09 +0000 |
commit | b6a44b8d39b7834ab9f6c43938f4b58f135e846e (patch) | |
tree | d9bd903d4e30ea4faf1977a514853c5aac83690c /utility.c | |
parent | eded54bd96ed0394844f9ba23c5ab54dff8a917f (diff) | |
download | busybox-b6a44b8d39b7834ab9f6c43938f4b58f135e846e.zip busybox-b6a44b8d39b7834ab9f6c43938f4b58f135e846e.tar.gz |
updates for the day
Diffstat (limited to 'utility.c')
-rw-r--r-- | utility.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -488,12 +488,8 @@ extern void createPath (const char *name, int mode) while (cp) { cpOld = cp; cp = strchr (cp + 1, '/'); - *cpOld = '\0'; - - if (mkdir (buf, cp ? 0777 : mode) == 0) - printf ("Directory \"%s\" created\n", buf); - + mkdir (buf, cp ? 0777 : mode); *cpOld = '/'; } } |