summaryrefslogtreecommitdiff
path: root/src/basic
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-02-19 15:18:40 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-02-19 15:18:40 -0500
commitcde0cf28a20d36c7f0560b391dc4aca0f5bbd539 (patch)
treecec3247789e73b8d77c49e76efc136636c7c0e34 /src/basic
parent0f5777cbd419a27e4407caf152e31afe30984b39 (diff)
parent79d629725240a3fc5a4684bd42aefc7d87197c5c (diff)
Merge pull request #2666 from keszybz/coverity-fixes
Coverity fixes
Diffstat (limited to 'src/basic')
-rw-r--r--src/basic/process-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/process-util.c b/src/basic/process-util.c
index 189ef9ab60..27663eee51 100644
--- a/src/basic/process-util.c
+++ b/src/basic/process-util.c
@@ -205,7 +205,7 @@ void rename_process(const char name[8]) {
* "systemd"). If you pass a longer string it will be
* truncated */
- prctl(PR_SET_NAME, name);
+ (void) prctl(PR_SET_NAME, name);
if (program_invocation_name)
strncpy(program_invocation_name, name, strlen(program_invocation_name));