Explorar el Código

[bitops] Fix typo in test case

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown hace 8 años
padre
commit
49a5bcfba6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/tests/bitops_test.c

+ 1
- 1
src/tests/bitops_test.c Ver fichero

@@ -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…
Cancelar
Guardar