diff options
Diffstat (limited to 'usr/src/tools/ctf/ctfstrip/ctfstrip.c')
-rw-r--r-- | usr/src/tools/ctf/ctfstrip/ctfstrip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/tools/ctf/ctfstrip/ctfstrip.c b/usr/src/tools/ctf/ctfstrip/ctfstrip.c index 60180c6921..3cb3ed9fea 100644 --- a/usr/src/tools/ctf/ctfstrip/ctfstrip.c +++ b/usr/src/tools/ctf/ctfstrip/ctfstrip.c @@ -11,6 +11,7 @@ /* * Copyright 2011 Jason King. All rights reserved. + * Copyright (c) 2018, Joyent, Inc. */ #include <stdlib.h> @@ -132,7 +133,7 @@ fix_file(const char *filename, mode_t mode) return (B_FALSE); } - waitpid(pid, &stat, 0); + (void) waitpid(pid, &stat, 0); if (!WIFEXITED(stat) || WEXITSTATUS(stat) != 0) { warnx("Removing CTF information from %s failed", filename); return (B_FALSE); |