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 = -> == in conditional in example. Oops!



details:   https://anonhg.NetBSD.org/src/rev/8d340dc4dd81
branches:  trunk
changeset: 804053:8d340dc4dd81
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Fri Nov 21 20:53:35 2014 +0000

description:
Fix = -> == in conditional in example.  Oops!

diffstat:

 share/man/man9/pserialize.9 |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 71a3c737bffc -r 8d340dc4dd81 share/man/man9/pserialize.9
--- a/share/man/man9/pserialize.9       Fri Nov 21 20:46:56 2014 +0000
+++ b/share/man/man9/pserialize.9       Fri Nov 21 20:53:35 2014 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: pserialize.9,v 1.8 2014/11/21 16:21:13 riastradh Exp $
+.\"    $NetBSD: pserialize.9,v 1.9 2014/11/21 20:53:35 riastradh Exp $
 .\"
 .\" Copyright (c) 2011 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -114,7 +114,7 @@
        for (f = frobbotzim; f != NULL; f = f->f_next) {
                /* Fetch f before we fetch anything f points to.  */
                membar_consumer();
-               if (f->f_... = key) {
+               if (f->f_... == key) {
                        *resultp = f->f_...;
                        error = 0;
                        break;



Home | Main Index | Thread Index | Old Index