diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-19 16:53:50 +0300 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-19 16:53:50 +0300 |
commit | 22dcd04f8f9a0411934e323187a66c42de3482a0 (patch) | |
tree | ad3ff0b357f8118917c5ac0bf684a3f72e0ab6df /coreutils/mkdir.c | |
parent | 89f0b3486dfea233e6000f9af95b39a3ea7fd96e (diff) |
mkdir: style fix
Diffstat (limited to 'coreutils/mkdir.c')
-rw-r--r-- | coreutils/mkdir.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/coreutils/mkdir.c b/coreutils/mkdir.c index c4d267695..2cc9c7a4c 100644 --- a/coreutils/mkdir.c +++ b/coreutils/mkdir.c @@ -29,7 +29,7 @@ static const struct option mkdir_long_options[] = { }; #endif -int mkdir_main (int argc, char **argv) +int mkdir_main(int argc, char **argv) { mode_t mode = (mode_t)(-1); int status = EXIT_SUCCESS; @@ -41,13 +41,13 @@ int mkdir_main (int argc, char **argv) applet_long_options = mkdir_long_options; #endif opt = getopt32(argc, argv, "m:p", &smode); - if(opt & 1) { + if (opt & 1) { mode = 0777; - if (!bb_parse_mode (smode, &mode)) { - bb_error_msg_and_die ("invalid mode '%s'", smode); + if (!bb_parse_mode(smode, &mode)) { + bb_error_msg_and_die("invalid mode '%s'", smode); } } - if(opt & 2) + if (opt & 2) flags |= FILEUTILS_RECUR; if (optind == argc) { |