Browse Source

[bitops] Fix typo in test case

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 8 years ago
parent
commit
49a5bcfba6
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/tests/bitops_test.c

+ 1
- 1
src/tests/bitops_test.c View File

@@ -60,7 +60,7 @@ static void bitops_test_exec ( void ) {
60 60
 
61 61
 	/* Test clear_bit() */
62 62
 	clear_bit ( 0, bits );
63
-	ok ( bits[5] == 0x00 );
63
+	ok ( bits[0] == 0x00 );
64 64
 	bits[5] = 0xff;
65 65
 	clear_bit ( 42, bits );
66 66
 	ok ( bits[5] == 0xfb );

Loading…
Cancel
Save