aboutsummaryrefslogtreecommitdiff
path: root/src/rc/rc-status.c
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2019-02-15 20:36:46 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2019-02-15 20:36:46 -0600
commitf9e7a00ba9c9b179c697fc0af83a19e923c831b0 (patch)
tree50bd18cad118e7f03e5d935a5013822fd610e36f /src/rc/rc-status.c
parentf1f48011acb266db309922f145653b86f11e0baf (diff)
rc-status: style fixes
Diffstat (limited to 'src/rc/rc-status.c')
-rw-r--r--src/rc/rc-status.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rc/rc-status.c b/src/rc/rc-status.c
index 5051fc0f..d2f66cb4 100644
--- a/src/rc/rc-status.c
+++ b/src/rc/rc-status.c
@@ -80,7 +80,7 @@ static void print_level(const char *prefix, const char *level,
if (isatty(fileno(stdout)))
printf("%s%s%s\n",
ecolor(ECOLOR_HILITE), level, ecolor(ECOLOR_NORMAL));
- else
+ else
printf("%s\n", level);
break;
case FORMAT_INI:
@@ -190,7 +190,7 @@ static void print_service(const char *service, enum format_t format)
xasprintf(&status, " stopped ");
errno = 0;
- switch(format) {
+ switch (format) {
case FORMAT_DEFAULT:
cols = printf(" %s", service);
if (c && *c && isatty(fileno(stdout)))