aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-02-06 18:01:39 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2018-02-06 18:01:39 +0100
commit1267770a9db90b2a29553e682e3b63aa86b0b34d (patch)
treefe2fd7ccf4768867d91f14ab930ced2cc23e4f95 /libbb
parent5cdd120f0c6423a42fa2eec2311126142a9a49f0 (diff)
downloadbusybox-1267770a9db90b2a29553e682e3b63aa86b0b34d.tar.gz
fix compile failure in previous commit
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r--libbb/make_directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/make_directory.c b/libbb/make_directory.c
index 64736efbe..9b03bb8d0 100644
--- a/libbb/make_directory.c
+++ b/libbb/make_directory.c
@@ -121,7 +121,7 @@ int FAST_FUNC bb_make_directory(char *path, long mode, int flags)
* an error. */
if (mode != -1) {
//bb_error_msg("chmod 0%03lo mkdir '%s'", mode, path);
- if (chmod(path, mode) < 0)) {
+ if (chmod(path, mode) < 0) {
fail_msg = "set permissions of";
if (flags & FILEUTILS_IGNORE_CHMOD_ERR) {
flags = 0;