aboutsummaryrefslogtreecommitdiff
path: root/lib/libproc/proc_util.c
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2013-10-29 03:12:31 +0000
committerMark Johnston <markj@FreeBSD.org>2013-10-29 03:12:31 +0000
commitfb15925c14316c4059e623eb7ccc12bec99dfcc6 (patch)
tree7136523166120efa86014242a892b951a72ef3f5 /lib/libproc/proc_util.c
parente2f5d9a129ba5ea82acdf3f436a73f6649ed3cbb (diff)
downloadsrc-fb15925c14316c4059e623eb7ccc12bec99dfcc6.tar.gz
src-fb15925c14316c4059e623eb7ccc12bec99dfcc6.zip
Notes
Diffstat (limited to 'lib/libproc/proc_util.c')
-rw-r--r--lib/libproc/proc_util.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libproc/proc_util.c b/lib/libproc/proc_util.c
index 646ee97e241f..1c3d5229c9f4 100644
--- a/lib/libproc/proc_util.c
+++ b/lib/libproc/proc_util.c
@@ -145,9 +145,8 @@ proc_wstatus(struct proc_handle *phdl)
if (phdl == NULL)
return (-1);
if (waitpid(phdl->pid, &status, WUNTRACED) < 0) {
- if (errno != EINTR) {
+ if (errno != EINTR)
DPRINTF("waitpid");
- }
return (-1);
}
if (WIFSTOPPED(status))