aboutsummaryrefslogtreecommitdiff
path: root/runit
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-10-28 18:57:19 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-10-28 18:57:19 +0200
commite4dcba1c103dc28e927e004791e331aaf604383d (patch)
treea18094ecc54fcea2cb523a802e0c414c3e6f85bf /runit
parent776509544123c68bbc128c0fdb2f699062d294cf (diff)
downloadbusybox-w32-e4dcba1c103dc28e927e004791e331aaf604383d.tar.gz
busybox-w32-e4dcba1c103dc28e927e004791e331aaf604383d.tar.bz2
busybox-w32-e4dcba1c103dc28e927e004791e331aaf604383d.zip
*: 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 b08d42300..dc8a26aeb 100644
--- a/runit/chpst.c
+++ b/runit/chpst.c
@@ -122,10 +122,10 @@ static NOINLINE void edir(const char *directory_name)
122 if ((errno == EISDIR) && directory_name) { 122 if ((errno == EISDIR) && directory_name) {
123 if (option_mask32 & OPT_v) 123 if (option_mask32 & OPT_v)
124 bb_perror_msg("warning: %s/%s is a directory", 124 bb_perror_msg("warning: %s/%s is a directory",
125 directory_name, d->d_name); 125 directory_name, d->d_name);
126 continue; 126 continue;
127 } else 127 }
128 bb_perror_msg_and_die("open %s/%s", 128 bb_perror_msg_and_die("open %s/%s",
129 directory_name, d->d_name); 129 directory_name, d->d_name);
130 } 130 }
131 size = full_read(fd, buf, sizeof(buf)-1); 131 size = full_read(fd, buf, sizeof(buf)-1);
diff --git a/runit/svlogd.c b/runit/svlogd.c
index 052806c25..c3ff4e9c1 100644
--- a/runit/svlogd.c
+++ b/runit/svlogd.c
@@ -1114,7 +1114,8 @@ int svlogd_main(int argc, char **argv)
1114 /* Search for '\n' (in fact, np already holds the result) */ 1114 /* Search for '\n' (in fact, np already holds the result) */
1115 linelen = stdin_cnt; 1115 linelen = stdin_cnt;
1116 if (np) { 1116 if (np) {
1117 print_to_nl: /* NB: starting from here lineptr may point 1117 print_to_nl:
1118 /* NB: starting from here lineptr may point
1118 * farther out into line[] */ 1119 * farther out into line[] */
1119 linelen = np - lineptr + 1; 1120 linelen = np - lineptr + 1;
1120 } 1121 }