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:
Lee Duncan
2013-02-13 12:37:55 -08:00
committed by Ronnie Sahlberg
parent a1590cf30c
commit 990af4a427
86 changed files with 98 additions and 85 deletions

View File

@@ -37,7 +37,7 @@ test_writesame16_unmap_unaligned(void)
CHECK_FOR_LBPPB_GT_1;
CHECK_FOR_SBC;
logging(LOG_VERBOSE, "");
logging(LOG_VERBOSE, LOG_BLANK_LINE);
logging(LOG_VERBOSE, "Test that unaligned WRITESAME16 Unmap fails. LBPPB==%d", lbppb);
for (i = 1; i < lbppb; i++) {
logging(LOG_VERBOSE, "Unmap %d blocks using WRITESAME16 at LBA:%d", lbppb - i, i);