diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-02-19 15:18:40 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-02-19 15:18:40 -0500 |
commit | cde0cf28a20d36c7f0560b391dc4aca0f5bbd539 (patch) | |
tree | cec3247789e73b8d77c49e76efc136636c7c0e34 /src/basic | |
parent | 0f5777cbd419a27e4407caf152e31afe30984b39 (diff) | |
parent | 79d629725240a3fc5a4684bd42aefc7d87197c5c (diff) |
Merge pull request #2666 from keszybz/coverity-fixes
Coverity fixes
Diffstat (limited to 'src/basic')
-rw-r--r-- | src/basic/process-util.c | 2 |
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)); |