Print this page
10075 make usr/src/tools smatch clean

*** 9,18 **** --- 9,19 ---- * http://www.illumos.org/license/CDDL. */ /* * Copyright 2011 Jason King. All rights reserved. + * Copyright (c) 2018, Joyent, Inc. */ #include <stdlib.h> #include <stdio.h> #include <string.h>
*** 130,140 **** (char *const *)cmd, environ)) != 0) { warnx("could not exec mcs: %s", strerror(rc)); return (B_FALSE); } ! waitpid(pid, &stat, 0); if (!WIFEXITED(stat) || WEXITSTATUS(stat) != 0) { warnx("Removing CTF information from %s failed", filename); return (B_FALSE); } --- 131,141 ---- (char *const *)cmd, environ)) != 0) { warnx("could not exec mcs: %s", strerror(rc)); return (B_FALSE); } ! (void) waitpid(pid, &stat, 0); if (!WIFEXITED(stat) || WEXITSTATUS(stat) != 0) { warnx("Removing CTF information from %s failed", filename); return (B_FALSE); }