aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-11-19 13:53:50 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-11-19 13:53:50 +0000
commitde8617e0fe5513b5b752572112451ba707ec5b04 (patch)
treead3ff0b357f8118917c5ac0bf684a3f72e0ab6df
parent5fbe80c88a10cf2f357c3eb50990aa345bd5257a (diff)
downloadbusybox-w32-de8617e0fe5513b5b752572112451ba707ec5b04.tar.gz
busybox-w32-de8617e0fe5513b5b752572112451ba707ec5b04.tar.bz2
busybox-w32-de8617e0fe5513b5b752572112451ba707ec5b04.zip
mkdir: style fix
git-svn-id: svn://busybox.net/trunk/busybox@16583 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--coreutils/mkdir.c10
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[] = {
29}; 29};
30#endif 30#endif
31 31
32int mkdir_main (int argc, char **argv) 32int mkdir_main(int argc, char **argv)
33{ 33{
34 mode_t mode = (mode_t)(-1); 34 mode_t mode = (mode_t)(-1);
35 int status = EXIT_SUCCESS; 35 int status = EXIT_SUCCESS;
@@ -41,13 +41,13 @@ int mkdir_main (int argc, char **argv)
41 applet_long_options = mkdir_long_options; 41 applet_long_options = mkdir_long_options;
42#endif 42#endif
43 opt = getopt32(argc, argv, "m:p", &smode); 43 opt = getopt32(argc, argv, "m:p", &smode);
44 if(opt & 1) { 44 if (opt & 1) {
45 mode = 0777; 45 mode = 0777;
46 if (!bb_parse_mode (smode, &mode)) { 46 if (!bb_parse_mode(smode, &mode)) {
47 bb_error_msg_and_die ("invalid mode '%s'", smode); 47 bb_error_msg_and_die("invalid mode '%s'", smode);
48 } 48 }
49 } 49 }
50 if(opt & 2) 50 if (opt & 2)
51 flags |= FILEUTILS_RECUR; 51 flags |= FILEUTILS_RECUR;
52 52
53 if (optind == argc) { 53 if (optind == argc) {