Source-Changes-HG archive

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

[src/trunk]: src/share/man/man9 Fix name of example list head.



details:   https://anonhg.NetBSD.org/src/rev/c56a7b87e0ca
branches:  trunk
changeset: 344627:c56a7b87e0ca
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Apr 09 05:16:23 2016 +0000

description:
Fix name of example list head.

diffstat:

 share/man/man9/pslist.9 |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d1e202692b19 -r c56a7b87e0ca share/man/man9/pslist.9
--- a/share/man/man9/pslist.9   Sat Apr 09 04:39:46 2016 +0000
+++ b/share/man/man9/pslist.9   Sat Apr 09 05:16:23 2016 +0000
@@ -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 @@
 
        /* 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 @@
        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;



Home | Main Index | Thread Index | Old Index