aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-10-29 01:19:15 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-10-29 01:19:15 +0000
commit9504e444b8c6269838b0035f95454db935fa68dd (patch)
treeb63bddb1040acafcbe0f2ae4669553ed6c804fd9
parentc3a9dc8ac5b1938652ab1c48859d1cb71c6cbaa1 (diff)
downloadbusybox-w32-9504e444b8c6269838b0035f95454db935fa68dd.tar.gz
busybox-w32-9504e444b8c6269838b0035f95454db935fa68dd.tar.bz2
busybox-w32-9504e444b8c6269838b0035f95454db935fa68dd.zip
whitespace fixes, no code changes
-rw-r--r--loginutils/Config.in12
-rw-r--r--shell/hush.c2
-rw-r--r--sysklogd/syslogd.c2
-rw-r--r--util-linux/mdev.c4
4 files changed, 10 insertions, 10 deletions
diff --git a/loginutils/Config.in b/loginutils/Config.in
index aca85a1ba..9aa0abb2a 100644
--- a/loginutils/Config.in
+++ b/loginutils/Config.in
@@ -233,12 +233,12 @@ config CRYPTPW
233 Applet for crypting a string. 233 Applet for crypting a string.
234 234
235config CHPASSWD 235config CHPASSWD
236 bool "chpasswd" 236 bool "chpasswd"
237 default n 237 default n
238 help 238 help
239 chpasswd reads a file of user name and password pairs from 239 chpasswd reads a file of user name and password pairs from
240 standard input and uses this information to update a group of 240 standard input and uses this information to update a group of
241 existing users. 241 existing users.
242 242
243config SU 243config SU
244 bool "su" 244 bool "su"
diff --git a/shell/hush.c b/shell/hush.c
index 1e6df6284..421272971 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -1484,7 +1484,7 @@ static void pseudo_exec_argv(nommu_save_t *nommu_save, char **argv, int assignme
1484 if (!argv[assignment_cnt]) 1484 if (!argv[assignment_cnt])
1485 _exit(EXIT_SUCCESS); 1485 _exit(EXIT_SUCCESS);
1486 1486
1487 new_env = expand_assignments(argv, assignment_cnt); 1487 new_env = expand_assignments(argv, assignment_cnt);
1488#if BB_MMU 1488#if BB_MMU
1489 putenv_all(new_env); 1489 putenv_all(new_env);
1490 free(new_env); /* optional */ 1490 free(new_env); /* optional */
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index 4c9efd8ba..38ea3d7ff 100644
--- a/sysklogd/syslogd.c
+++ b/sysklogd/syslogd.c
@@ -364,7 +364,7 @@ static void log_locally(time_t now, char *msg)
364 } 364 }
365 G.curFileSize += 365 G.curFileSize +=
366#endif 366#endif
367 full_write(G.logFD, msg, len); 367 full_write(G.logFD, msg, len);
368 fl.l_type = F_UNLCK; 368 fl.l_type = F_UNLCK;
369 fcntl(G.logFD, F_SETLKW, &fl); 369 fcntl(G.logFD, F_SETLKW, &fl);
370} 370}
diff --git a/util-linux/mdev.c b/util-linux/mdev.c
index 5ac801555..34cabc934 100644
--- a/util-linux/mdev.c
+++ b/util-linux/mdev.c
@@ -101,9 +101,9 @@ static void make_device(char *path, int delete)
101 * "/sys/block/..." is for block devices. "/sys/bus" etc is not. 101 * "/sys/block/..." is for block devices. "/sys/bus" etc is not.
102 * But since 2.6.25 block devices are also in /sys/class/block. 102 * But since 2.6.25 block devices are also in /sys/class/block.
103 * We use strstr("/block/") to forestall future surprises. */ 103 * We use strstr("/block/") to forestall future surprises. */
104 type = S_IFCHR; 104 type = S_IFCHR;
105 if (strstr(path, "/block/")) 105 if (strstr(path, "/block/"))
106 type = S_IFBLK; 106 type = S_IFBLK;
107 107
108#if ENABLE_FEATURE_MDEV_CONF 108#if ENABLE_FEATURE_MDEV_CONF
109 parser = config_open2("/etc/mdev.conf", fopen_for_read); 109 parser = config_open2("/etc/mdev.conf", fopen_for_read);