diff options
author | Denis Vlasenko | 2007-01-11 17:20:00 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-01-11 17:20:00 +0000 |
commit | f7996f3b700a22797565e9aa57e251e6e3ac1e4d (patch) | |
tree | af4e797eef0a65f4e3dba94b325da0ec08452d36 /runit/runsvdir.c | |
parent | 3821fb13ea404d243115ff8ec161273b62826513 (diff) | |
download | busybox-f7996f3b700a22797565e9aa57e251e6e3ac1e4d.zip busybox-f7996f3b700a22797565e9aa57e251e6e3ac1e4d.tar.gz |
Trailing whitespace removal over entire tree
Diffstat (limited to 'runit/runsvdir.c')
-rw-r--r-- | runit/runsvdir.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runit/runsvdir.c b/runit/runsvdir.c index 9238eec..3290da5 100644 --- a/runit/runsvdir.c +++ b/runit/runsvdir.c @@ -36,7 +36,7 @@ static void fatal2_cannot(char *m1, char *m2) static void warn3x(char *m1, char *m2, char *m3) { bb_error_msg("%s: warning: %s%s%s", svdir, m1, m2, m3); -} +} static void warn2_cannot(char *m1, char *m2) { warn3x("cannot ", m1, m2); @@ -44,7 +44,7 @@ static void warn2_cannot(char *m1, char *m2) static void warnx(char *m1) { warn3x(m1, "", ""); -} +} static void s_term(int sig_no) { @@ -208,7 +208,7 @@ int runsvdir_main(int argc, char **argv) } } curdir = open_read("."); - if (curdir == -1) + if (curdir == -1) fatal2_cannot("open current directory", ""); coe(curdir); @@ -241,7 +241,7 @@ int runsvdir_main(int argc, char **argv) /* wait at least a second */ taia_uint(&deadline, 1); taia_add(&stampcheck, &now, &deadline); - + if (stat(svdir, &s) != -1) { if (check || s.st_mtime != mtime || s.st_ino != ino || s.st_dev != dev |