Fixup the get-lba-status tests

This commit is contained in:
Ronnie Sahlberg
2013-02-13 18:21:13 -08:00
parent 990af4a427
commit d5f2e7120a
2 changed files with 3 additions and 3 deletions

View File

@@ -798,8 +798,8 @@ int get_lba_status(struct iscsi_context *iscsi, int lun, uint64_t lba, uint32_t
{ {
struct scsi_task *task; struct scsi_task *task;
logging(LOG_VERBOSE, "Send GET_LBA_STATUS LBA:%" PRIu64 " blocks:%d " logging(LOG_VERBOSE, "Send GET_LBA_STATUS LBA:%" PRIu64 " blocks:%d",
"len:%d", lba, len); lba, len);
task = iscsi_get_lba_status_sync(iscsi, lun, lba, len); task = iscsi_get_lba_status_sync(iscsi, lun, lba, len);
if (task == NULL) { if (task == NULL) {

View File

@@ -30,7 +30,7 @@ test_get_lba_status_simple(void)
{ {
int i, ret; int i, ret;
logging(LOG_VERBOSE, ""); logging(LOG_VERBOSE, LOG_BLANK_LINE);
logging(LOG_VERBOSE, "Test GET_LBA_STATUS of 1-256 blocks at the start of the LUN"); logging(LOG_VERBOSE, "Test GET_LBA_STATUS of 1-256 blocks at the start of the LUN");
for (i = 1; i <= 256; i++) { for (i = 1; i <= 256; i++) {
ret = get_lba_status(iscsic, tgt_lun, 0, 24); ret = get_lba_status(iscsic, tgt_lun, 0, 24);