Module Name: src Committed By: ryo Date: Tue May 24 02:31:11 UTC 2011
Modified Files: src/lib/libc/sys: kqueue.2 Log Message: fix incorrect variable name To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/lib/libc/sys/kqueue.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/sys/kqueue.2 diff -u src/lib/libc/sys/kqueue.2:1.29 src/lib/libc/sys/kqueue.2:1.30 --- src/lib/libc/sys/kqueue.2:1.29 Tue Apr 13 10:45:46 2010 +++ src/lib/libc/sys/kqueue.2 Tue May 24 02:31:11 2011 @@ -1,4 +1,4 @@ -.\" $NetBSD: kqueue.2,v 1.29 2010/04/13 10:45:46 wiz Exp $ +.\" $NetBSD: kqueue.2,v 1.30 2011/05/24 02:31:11 ryo Exp $ .\" .\" Copyright (c) 2000 Jonathan Lemon .\" All rights reserved. @@ -508,8 +508,8 @@ EV_SET(\*[Am]ev, fd, EVFILT_VNODE, EV_ADD | EV_ENABLE | EV_CLEAR, NOTE_DELETE|NOTE_WRITE|NOTE_EXTEND|NOTE_ATTRIB|NOTE_LINK| NOTE_RENAME|NOTE_REVOKE, 0, 0); - if (kevent(kq, \*[Am]ch, 1, NULL, 0, \*[Am]tout) == -1) - err(1, "kevent"); + if (kevent(kq, \*[Am]ev, 1, NULL, 0, \*[Am]tout) == -1) + err(1, "kevent"); for (;;) { nev = kevent(kq, NULL, 0, \*[Am]ev, 1, \*[Am]tout); if (nev == -1)