Don't use NULL inappropriately.

This commit is contained in:
agc 2003-10-21 09:32:54 +00:00
parent 1dbb52e92c
commit 492f508473
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: proc2.c,v 1.1.1.1 2002/10/03 07:46:03 jdolecek Exp $ */
/* $NetBSD: proc2.c,v 1.2 2003/10/21 09:32:54 agc Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@ -78,7 +78,7 @@ main(int argc, char **argv)
}
EV_SET(&ke, pid, EVFILT_PROC, EV_ADD, NOTE_FORK|NOTE_TRACK,
NULL, NULL);
0, 0);
if ((kevent(kq, &ke, 1, NULL, 0, &timeout)) == -1)
err(1, "kevent1");