Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys fix incorrect variable name



details:   https://anonhg.NetBSD.org/src/rev/f240998d5025
branches:  trunk
changeset: 765296:f240998d5025
user:      ryo <ryo%NetBSD.org@localhost>
date:      Tue May 24 02:31:11 2011 +0000

description:
fix incorrect variable name

diffstat:

 lib/libc/sys/kqueue.2 |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 127d947371d9 -r f240998d5025 lib/libc/sys/kqueue.2
--- a/lib/libc/sys/kqueue.2     Tue May 24 01:19:48 2011 +0000
+++ b/lib/libc/sys/kqueue.2     Tue May 24 02:31:11 2011 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index