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))
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to