aboutsummaryrefslogtreecommitdiff
path: root/runit/runsv.c
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2006-12-26 10:42:51 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2006-12-26 10:42:51 +0000
commitbf0a201008671f81c107de72c026b1b84967561d (patch)
treeaf74820b70fa27929fe218c95822c20651b60637 /runit/runsv.c
parent5dd7ef0f37373e397a7160cb431a32ae57f9f7d9 (diff)
downloadbusybox-bf0a201008671f81c107de72c026b1b84967561d.tar.gz
busybox-bf0a201008671f81c107de72c026b1b84967561d.tar.bz2
style fixes
last xcalloc replaced by xzalloc
Diffstat (limited to 'runit/runsv.c')
-rw-r--r--runit/runsv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/runit/runsv.c b/runit/runsv.c
index e1b5459fb..9e117fe0a 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);