summaryrefslogtreecommitdiff
path: root/runit
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-10-28 16:57:19 (GMT)
committerDenys Vlasenko <vda.linux@googlemail.com>2010-10-28 16:57:19 (GMT)
commite4dcba1c103dc28e927e004791e331aaf604383d (patch)
treea18094ecc54fcea2cb523a802e0c414c3e6f85bf /runit
parent776509544123c68bbc128c0fdb2f699062d294cf (diff)
downloadbusybox-e4dcba1c103dc28e927e004791e331aaf604383d.zip
busybox-e4dcba1c103dc28e927e004791e331aaf604383d.tar.gz
busybox-e4dcba1c103dc28e927e004791e331aaf604383d.tar.bz2
*: whitespace fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'runit')
-rw-r--r--runit/chpst.c6
-rw-r--r--runit/svlogd.c3
2 files changed, 5 insertions, 4 deletions
diff --git a/runit/chpst.c b/runit/chpst.c
index b08d423..dc8a26a 100644
--- a/runit/chpst.c
+++ b/runit/chpst.c
@@ -122,10 +122,10 @@ static NOINLINE void edir(const char *directory_name)
if ((errno == EISDIR) && directory_name) {
if (option_mask32 & OPT_v)
bb_perror_msg("warning: %s/%s is a directory",
- directory_name, d->d_name);
+ directory_name, d->d_name);
continue;
- } else
- bb_perror_msg_and_die("open %s/%s",
+ }
+ bb_perror_msg_and_die("open %s/%s",
directory_name, d->d_name);
}
size = full_read(fd, buf, sizeof(buf)-1);
diff --git a/runit/svlogd.c b/runit/svlogd.c
index 052806c..c3ff4e9 100644
--- a/runit/svlogd.c
+++ b/runit/svlogd.c
@@ -1114,7 +1114,8 @@ int svlogd_main(int argc, char **argv)
/* Search for '\n' (in fact, np already holds the result) */
linelen = stdin_cnt;
if (np) {
- print_to_nl: /* NB: starting from here lineptr may point
+ print_to_nl:
+ /* NB: starting from here lineptr may point
* farther out into line[] */
linelen = np - lineptr + 1;
}