Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 2013 12:42:27 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r257248 - head/lib/libproc
Message-ID:  <201310281242.r9SCgRkU051340@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Mon Oct 28 12:42:27 2013
New Revision: 257248
URL: http://svnweb.freebsd.org/changeset/base/257248

Log:
  Fix the build with gcc.

Modified:
  head/lib/libproc/proc_util.c

Modified: head/lib/libproc/proc_util.c
==============================================================================
--- head/lib/libproc/proc_util.c	Mon Oct 28 10:32:14 2013	(r257247)
+++ head/lib/libproc/proc_util.c	Mon Oct 28 12:42:27 2013	(r257248)
@@ -145,8 +145,9 @@ 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))



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310281242.r9SCgRkU051340>