diff options
author | Denis Vlasenko | 2006-12-26 10:42:51 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-12-26 10:42:51 +0000 |
commit | bf0a201008671f81c107de72c026b1b84967561d (patch) | |
tree | af74820b70fa27929fe218c95822c20651b60637 /runit/runsv.c | |
parent | 5dd7ef0f37373e397a7160cb431a32ae57f9f7d9 (diff) | |
download | busybox-bf0a201008671f81c107de72c026b1b84967561d.zip busybox-bf0a201008671f81c107de72c026b1b84967561d.tar.gz |
style fixes
last xcalloc replaced by xzalloc
Diffstat (limited to 'runit/runsv.c')
-rw-r--r-- | runit/runsv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runit/runsv.c b/runit/runsv.c index e1b5459..9e117fe 100644 --- a/runit/runsv.c +++ b/runit/runsv.c @@ -155,7 +155,7 @@ static void update_status(struct svdir *s) if (s->ctrl & C_PAUSE) p = add_str(p, ", paused"); if (s->ctrl & C_TERM) p = add_str(p, ", got TERM"); if (s->state != S_DOWN) - switch(s->want) { + switch (s->want) { case W_DOWN: p = add_str(p, ", want down"); break; @@ -329,7 +329,7 @@ static void startservice(struct svdir *s) static int ctrl(struct svdir *s, char c) { - switch(c) { + switch (c) { case 'd': /* down */ s->want = W_DOWN; update_status(s); |