test/nvme: fix printf param in deallocate_test()

stay the print parameter same with it in the deallocate_complete().

Change-Id: I21734f2b3097fd3a1006e390ab87b0578f0cbc2a
Signed-off-by: JinYu <jin.yu@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/458029
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
JinYu 2019-06-14 18:16:00 +08:00 committed by Changpeng Liu
parent f874737792
commit a298d77ccf

View File

@ -272,7 +272,7 @@ deallocate_test(void)
printf("\nController %-20.20s (%-20.20s)\n", data->mn, data->sn);
printf("Controller PCI vendor:%u PCI subsystem vendor:%u\n", data->vid, data->ssvid);
printf("Namespace Block Size:%u\n", spdk_nvme_ns_get_sector_size(ns_entry->ns));
printf("Writing Blocks 0 to %d with random data.\n", NUM_BLOCKS);
printf("Writing Blocks 0 to %d with random data.\n", NUM_BLOCKS - 1);
printf("On next read, read value will match random data.\n");
context.ns_entry = ns_entry;