Module Name: src
Committed By: riastradh
Date: Sat Apr 9 05:16:23 UTC 2016
Modified Files:
src/share/man/man9: pslist.9
Log Message:
Fix name of example list head.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/share/man/man9/pslist.9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man9/pslist.9
diff -u src/share/man/man9/pslist.9:1.1 src/share/man/man9/pslist.9:1.2
--- src/share/man/man9/pslist.9:1.1 Sat Apr 9 04:39:46 2016
+++ src/share/man/man9/pslist.9 Sat Apr 9 05:16:23 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: pslist.9,v 1.1 2016/04/09 04:39:46 riastradh Exp $
+.\" $NetBSD: pslist.9,v 1.2 2016/04/09 05:16:23 riastradh Exp $
.\"
.\" Copyright (c) 2016 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -375,7 +375,7 @@ Create and publish a frotz:
/* Publish it. */
mutex_enter(\*[Am]frobbotzim.lock);
- PSLIST_WRITER_INSERT_HEAD(\*[Am]frobbotzim.head, f, f_entry);
+ PSLIST_WRITER_INSERT_HEAD(\*[Am]frobbotzim.list, f, f_entry);
mutex_exit(\*[Am]frobbotzim.lock);
.Ed
.Pp
@@ -387,7 +387,7 @@ Look up a frotz and return its associate
int s;
s = pserialize_read_enter();
- PSLIST_READER_FOREACH(f, \*[Am]frobbotzim.head, struct frotz, f_entry) {
+ PSLIST_READER_FOREACH(f, \*[Am]frobbotzim.list, struct frotz, f_entry) {
if (f->f_key == key) {
*datump = f->f_datum;
error = 0;