summaryrefslogtreecommitdiffstats
path: root/src/tests/bitops_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/bitops_test.c')
-rw-r--r--src/tests/bitops_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/bitops_test.c b/src/tests/bitops_test.c
index a689b949..f29fc680 100644
--- a/src/tests/bitops_test.c
+++ b/src/tests/bitops_test.c
@@ -60,7 +60,7 @@ static void bitops_test_exec ( void ) {
/* Test clear_bit() */
clear_bit ( 0, bits );
- ok ( bits[5] == 0x00 );
+ ok ( bits[0] == 0x00 );
bits[5] = 0xff;
clear_bit ( 42, bits );
ok ( bits[5] == 0xfb );