From 22bce41dd780abf98b71cae7aadb9abfcb30ce2a Mon Sep 17 00:00:00 2001 From: Marc Hartmayer Date: Fri, 26 May 2023 10:52:46 +0000 Subject: [PATCH] cpacfstatsd: white-space cleanup and typo fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc Hartmayer Reviewed-by: Ingo Franzki Signed-off-by: Jan Höppner --- cpacfstats/cpacfstatsd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cpacfstats/cpacfstatsd.c b/cpacfstats/cpacfstatsd.c index 8248004b..57b27831 100644 --- a/cpacfstats/cpacfstatsd.c +++ b/cpacfstats/cpacfstatsd.c @@ -97,7 +97,7 @@ static int do_send_pai(int s, int user) { int ctr, state, i, maxctr, rc = 0; uint64_t value; - + if (user) { ctr = PAI_USER; maxctr = NUM_PAI_USER; @@ -265,7 +265,7 @@ static int become_daemon(void) * Reasons: * - opens new command line prompt * - the child process is guaranteed not to be the process group leader - * nessecarry for setsid. + * necessary for setsid. */ switch (fork()) { @@ -454,7 +454,7 @@ int main(int argc, char *argv[]) } if (check_pidfile() != 0) { - eprint("Stalled pid file or daemon allready running, terminating\n"); + eprint("Stalled pid file or daemon already running, terminating\n"); return EXIT_FAILURE; }