Source-Changes-HG archive

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

[src/trunk]: src/share/man/man3 fix bug



details:   https://anonhg.NetBSD.org/src/rev/87757e94a6c4
branches:  trunk
changeset: 783016:87757e94a6c4
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Dec 01 20:38:41 2012 +0000

description:
fix bug

diffstat:

 share/man/man3/bitmap.3 |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5674a18551eb -r 87757e94a6c4 share/man/man3/bitmap.3
--- a/share/man/man3/bitmap.3   Sat Dec 01 20:37:02 2012 +0000
+++ b/share/man/man3/bitmap.3   Sat Dec 01 20:38:41 2012 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: bitmap.3,v 1.1 2012/12/01 20:33:02 christos Exp $
+.\"    $NetBSD: bitmap.3,v 1.2 2012/12/01 20:38:41 christos Exp $
 .\"
 .\" Copyright (c) 2012 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -112,7 +112,7 @@
        /* Set bit 1 */
        __BITMAP_SET(1, bitmap);
 
-       for (size_t i = 0; i \*[Lt]= 5000; i++) {
+       for (size_t i = 0; i \*[Lt] 5000; i++) {
                if (__BITMAP_ISSET(i, bitmap)) {
                        /* Should just print 1 */
                        printf("Bit %zu is set\en", i);



Home | Main Index | Thread Index | Old Index