summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2012-12-01 20:38:41 +0000
committerchristos <christos@NetBSD.org>2012-12-01 20:38:41 +0000
commit7cb612d3e5213fb91a1db7846bb33b0bc4e0a984 (patch)
tree4e8031b7537bf4f653830e5e5cbde47443894821
parentf0336860589183ae218757a57b8615fc948f9466 (diff)
fix bug
-rw-r--r--share/man/man3/bitmap.34
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man3/bitmap.3 b/share/man/man3/bitmap.3
index 8b777bd46a1..817a66b8d68 100644
--- a/share/man/man3/bitmap.3
+++ b/share/man/man3/bitmap.3
@@ -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);