Added printf format checking to logging function.
This also required changing the logging of "" at the start of each test to appeal the otherwise-friendly compiler.
This commit is contained in:
committed by
Ronnie Sahlberg
parent
a1590cf30c
commit
990af4a427
@@ -38,7 +38,7 @@ test_write16_wrprotect(void)
|
||||
* Try out different non-zero values for WRPROTECT.
|
||||
* They should all fail.
|
||||
*/
|
||||
logging(LOG_VERBOSE, "");
|
||||
logging(LOG_VERBOSE, LOG_BLANK_LINE);
|
||||
logging(LOG_VERBOSE, "Test WRITE16 with non-zero WRPROTECT");
|
||||
buf = malloc(block_size);
|
||||
for (i = 1; i < 8; i++) {
|
||||
|
||||
Reference in New Issue
Block a user