]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[bitops] Fix typo in test case
authorMichael Brown <mcb30@ipxe.org>
Thu, 5 May 2016 13:46:40 +0000 (14:46 +0100)
committerMichael Brown <mcb30@ipxe.org>
Thu, 5 May 2016 22:42:57 +0000 (23:42 +0100)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/tests/bitops_test.c

index a689b949f0f0fe36e7d85ac141b73d1a4e7b5972..f29fc68017ff635d18e66df210d889c49cb267ff 100644 (file)
@@ -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 );