diff options
author | John Levon <john.levon@joyent.com> | 2018-12-15 21:08:25 +0000 |
---|---|---|
committer | Hans Rosenfeld <hans.rosenfeld@joyent.com> | 2019-01-09 11:47:04 +0100 |
commit | 93b8872871607b3d21317283c1230b2a4a00920b (patch) | |
tree | 9ca8e35e28b51f3a98895caa4c6d05cba30fb2a3 /usr/src/tools/ctf/ctfstrip/ctfstrip.c | |
parent | 64f9afd1fd6b5f36ed2c633d603a3b551da6f3d4 (diff) | |
download | illumos-joyent-93b8872871607b3d21317283c1230b2a4a00920b.tar.gz |
10075 make usr/src/tools smatch clean
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
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); |