Module Name: src
Committed By: christos
Date: Sat Dec 1 20:38:42 UTC 2012
Modified Files:
src/share/man/man3: bitmap.3
Log Message:
fix bug
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/share/man/man3/bitmap.3
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/man3/bitmap.3
diff -u src/share/man/man3/bitmap.3:1.1 src/share/man/man3/bitmap.3:1.2
--- src/share/man/man3/bitmap.3:1.1 Sat Dec 1 15:33:02 2012
+++ src/share/man/man3/bitmap.3 Sat Dec 1 15:38:41 2012
@@ -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 @@ main(int argc, char **argv)
/* 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);