cpacfstatsd: white-space cleanup and typo fixes

Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Reviewed-by: Ingo Franzki <ifranzki@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Marc Hartmayer
2023-05-26 10:52:46 +00:00
committed by Jan Höppner
parent e35e73d2a3
commit 22bce41dd7

View File

@@ -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;
}