aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-03-31 07:25:51 +0100
committerWilliam Hubbs <w.d.hubbs@gmail.com>2022-05-08 14:56:26 -0500
commite7f45ce31fc95d4d3cd387d2d4452fd16546101e (patch)
treebb36dbee941300139bad095351596462fc12270d
parentd0a2e30137da1e98c264c5c7d42d22daed130234 (diff)
rc-update: style fixes
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--src/rc-update/rc-update.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rc-update/rc-update.c b/src/rc-update/rc-update.c
index 49104af4..a6dea354 100644
--- a/src/rc-update/rc-update.c
+++ b/src/rc-update/rc-update.c
@@ -183,9 +183,9 @@ show(RC_STRINGLIST *runlevels, bool verbose)
} else {
l = strlen(runlevel->value);
buffer = xmalloc(l+1);
- memset (buffer, ' ', l);
+ memset(buffer, ' ', l);
buffer[l] = 0;
- rc_stringlist_add (in, buffer);
+ rc_stringlist_add(in, buffer);
free(buffer);
}
}
@@ -194,12 +194,12 @@ show(RC_STRINGLIST *runlevels, bool verbose)
printf(" %20s |", service->value);
TAILQ_FOREACH(runlevel, in, entries)
printf (" %s", runlevel->value);
- printf ("\n");
+ printf("\n");
}
rc_stringlist_free(in);
}
- rc_stringlist_free (services);
+ rc_stringlist_free(services);
}
#define DOADD (1 << 1)