summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorMichael Brown2016-05-05 15:46:40 +0200
committerMichael Brown2016-05-06 00:42:57 +0200
commit49a5bcfba626a8fc01612d0b3f50b56c51529618 (patch)
treedd6d453e024a5687e12f155a6714e1dfa1123db4 /src/tests
parent[libgcc] Provide __divmoddi4() (diff)
downloadipxe-49a5bcfba626a8fc01612d0b3f50b56c51529618.tar.gz
ipxe-49a5bcfba626a8fc01612d0b3f50b56c51529618.tar.xz
ipxe-49a5bcfba626a8fc01612d0b3f50b56c51529618.zip
[bitops] Fix typo in test case
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/tests')
-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 );