diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-02-19 07:35:35 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-02-19 07:35:35 -0500 |
commit | 79d629725240a3fc5a4684bd42aefc7d87197c5c (patch) | |
tree | 44a7c77c3b50ee2581a60e22bc7a8f222b148e6b /src/basic/process-util.c | |
parent | 18665d1f67a9c93219b7007ad044f94eaaedecc1 (diff) |
Use (void) to silenc coverity on proc title changes
This is a cosmetic best-effort thing anyway.
Diffstat (limited to 'src/basic/process-util.c')
-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)); |