More checkpatch.pl happiness

This commit is contained in:
2017-06-21 11:52:34 +03:00
parent caa0e2b6a7
commit a0915fc803
3 changed files with 24 additions and 14 deletions

6
rmps.c
View File

@@ -187,8 +187,7 @@ static int open_listener(int port)
goto exit;
}
if (listen(sd, 10) != 0) {
log(ERROR,
"Failed to start listener on port %d - Aborting...",
log(ERROR, "Failed to start listener on port %d - Aborting...",
port);
goto exit;
}
@@ -307,7 +306,8 @@ void launch_rmps(struct conf_table *conf, int fork_flag)
log(VERBOSE, "Creating client thread pool (mutex).");
pthread_create(&pool[1], NULL, client_pool, &pool_args[1]);
if (start_job_queue(conf->rmps.agent_poolsize) == FAIL) {
log(ERROR, "On start_job_queue(), RMPS failed to start, shutting down...");
log(ERROR,
"On start_job_queue(), RMPS failed to start, shutting down...");
atexit(cleanup);
return;
}