Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/librump/rumpkern rump: Fix comment to reflect l_pri...



details:   https://anonhg.NetBSD.org/src/rev/123f0f974587
branches:  trunk
changeset: 377549:123f0f974587
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Jul 16 23:12:17 2023 +0000

description:
rump: Fix comment to reflect l_private -> l_sched.info.

Comment was misspelled `l->private', hence didn't come up in grep.

diffstat:

 sys/rump/librump/rumpkern/locks.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 35403b9ff7fb -r 123f0f974587 sys/rump/librump/rumpkern/locks.c
--- a/sys/rump/librump/rumpkern/locks.c Sun Jul 16 23:05:53 2023 +0000
+++ b/sys/rump/librump/rumpkern/locks.c Sun Jul 16 23:12:17 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locks.c,v 1.85 2023/07/16 23:05:53 riastradh Exp $     */
+/*     $NetBSD: locks.c,v 1.86 2023/07/16 23:12:17 riastradh Exp $     */
 
 /*
  * Copyright (c) 2007-2011 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: locks.c,v 1.85 2023/07/16 23:05:53 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: locks.c,v 1.86 2023/07/16 23:12:17 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/kmem.h>
@@ -425,7 +425,7 @@ docvwait(kcondvar_t *cv, kmutex_t *mtx, 
                KASSERT(p->p_sflag & PS_RUMP_LWPEXIT);
                mutex_exit(p->p_lock);
 
-               /* ok, we can exit and remove "reference" to l->private */
+               /* ok, we can exit and remove "reference" to l->l_sched.info */
 
                mutex_enter(mtx);
                rv = EINTR;



Home | Main Index | Thread Index | Old Index