Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/pwait PR/49714: Henning Petersen: Change NULL in EV_...
details: https://anonhg.NetBSD.org/src/rev/7d4f17e03aea
branches: trunk
changeset: 336511:7d4f17e03aea
user: christos <christos%NetBSD.org@localhost>
date: Wed Mar 04 13:31:53 2015 +0000
description:
PR/49714: Henning Petersen: Change NULL in EV_SET to 0.
diffstat:
usr.bin/pwait/pwait.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 854e25252e1a -r 7d4f17e03aea usr.bin/pwait/pwait.c
--- a/usr.bin/pwait/pwait.c Wed Mar 04 12:36:12 2015 +0000
+++ b/usr.bin/pwait/pwait.c Wed Mar 04 13:31:53 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pwait.c,v 1.3 2015/03/03 19:59:48 christos Exp $ */
+/* $NetBSD: pwait.c,v 1.4 2015/03/04 13:31:53 christos Exp $ */
/*-
* Copyright (c) 2004-2009, Jilles Tjoelker
@@ -37,7 +37,7 @@
#ifdef __FBSDID
__FBSDID("$FreeBSD: head/bin/pwait/pwait.c 245506 2013-01-16 18:15:25Z delphij $");
#endif
-__RCSID("$NetBSD: pwait.c,v 1.3 2015/03/03 19:59:48 christos Exp $");
+__RCSID("$NetBSD: pwait.c,v 1.4 2015/03/04 13:31:53 christos Exp $");
#include <sys/types.h>
#include <sys/event.h>
@@ -143,7 +143,7 @@
duplicate = 1;
if (!duplicate) {
EV_SET(e + nleft, (uintptr_t)pid, EVFILT_PROC, EV_ADD,
- NOTE_EXIT, 0, NULL);
+ NOTE_EXIT, 0, 0);
if (kevent(kq, e + nleft, 1, NULL, 0, NULL) == -1)
warn("%jd", (intmax_t)pid);
else
Home |
Main Index |
Thread Index |
Old Index