Module Name: src
Committed By: yamt
Date: Sun Jun 13 03:34:19 UTC 2010
Modified Files:
src/sys/kern: tty.c
Log Message:
update a comment.
To generate a diff of this commit:
cvs rdiff -u -r1.235 -r1.236 src/sys/kern/tty.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/kern/tty.c
diff -u src/sys/kern/tty.c:1.235 src/sys/kern/tty.c:1.236
--- src/sys/kern/tty.c:1.235 Wed May 26 23:53:21 2010
+++ src/sys/kern/tty.c Sun Jun 13 03:34:19 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: tty.c,v 1.235 2010/05/26 23:53:21 pooka Exp $ */
+/* $NetBSD: tty.c,v 1.236 2010/06/13 03:34:19 yamt Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -63,7 +63,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tty.c,v 1.235 2010/05/26 23:53:21 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tty.c,v 1.236 2010/06/13 03:34:19 yamt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -2575,8 +2575,8 @@
/*
* Sleep on chan, returning ERESTART if tty changed while we napped and
- * returning any errors (e.g. EINTR/ETIMEDOUT) reported by tsleep. If
- * the tty is revoked, restarting a pending call will redo validation done
+ * returning any errors (e.g. EINTR/ETIMEDOUT) reported by cv_timedwait(_sig).
+ * If the tty is revoked, restarting a pending call will redo validation done
* at the start of the call.
*
* Must be called with the tty lock held.