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/4f46da0587f5
branches:  trunk
changeset: 333911:4f46da0587f5
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 e1b9e92eb17b -r 4f46da0587f5 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