From e7f45ce31fc95d4d3cd387d2d4452fd16546101e Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 31 Mar 2022 07:25:51 +0100 Subject: [PATCH] rc-update: style fixes Signed-off-by: Sam James --- src/rc-update/rc-update.c | 8 ++++---- 1 file 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)