diff options
| author | ryo <ryo@NetBSD.org> | 2011-05-24 02:31:11 +0000 |
|---|---|---|
| committer | ryo <ryo@NetBSD.org> | 2011-05-24 02:31:11 +0000 |
| commit | affdbbe047c27dd41ee1d3e437b834f47f482249 (patch) | |
| tree | 59d27a9ea1e34b4c1a125eedd3742074d38d10ce /lib/libc/sys/kqueue.2 | |
| parent | 6861e4ba02cd8b9967e27c7e2c8bf25d1043c77c (diff) | |
fix incorrect variable name
Diffstat (limited to 'lib/libc/sys/kqueue.2')
| -rw-r--r-- | lib/libc/sys/kqueue.2 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/kqueue.2 b/lib/libc/sys/kqueue.2 index 2a81ccdfef1..37e263bd11b 100644 --- a/lib/libc/sys/kqueue.2 +++ b/lib/libc/sys/kqueue.2 @@ -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 @@ main(int argc, char *argv[]) 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) |
