From e4dcba1c103dc28e927e004791e331aaf604383d Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 28 Oct 2010 18:57:19 +0200 Subject: *: whitespace fixes Signed-off-by: Denys Vlasenko --- runit/chpst.c | 6 +++--- runit/svlogd.c | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'runit') 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; } -- cgit v1.1