From fc0a76f17cec152cd2e59f383981dc64f334555e Mon Sep 17 00:00:00 2001 From: jdolecek Date: Sun, 17 Oct 2004 16:06:00 +0000 Subject: [PATCH] fix comment - LK_NOWAIT, not LK_WAIT --- sys/sys/lock.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/sys/lock.h b/sys/sys/lock.h index 28587d3709fe..8765ac635569 100644 --- a/sys/sys/lock.h +++ b/sys/sys/lock.h @@ -1,4 +1,4 @@ -/* $NetBSD: lock.h,v 1.55 2004/07/01 22:34:12 kleink Exp $ */ +/* $NetBSD: lock.h,v 1.56 2004/10/17 16:06:00 jdolecek Exp $ */ /*- * Copyright (c) 1999, 2000 The NetBSD Foundation, Inc. @@ -272,7 +272,7 @@ struct lock { * unless one of the following is true: * LK_FORCEUPGRADE is requested and some other process has already * requested a lock upgrade (returns EBUSY). - * LK_WAIT is set and a sleep would be required (returns EBUSY). + * LK_NOWAIT is set and a sleep would be required (returns EBUSY). * LK_SLEEPFAIL is set and a sleep was done (returns ENOLCK). * PCATCH is set in lock priority and a signal arrives (returns * either EINTR or ERESTART if system calls is to be restarted).