nvme:fixup print in hello_world (#35)

Signed-off-by: gongchuang <gong.chuang@zte.com.cn>
This commit is contained in:
gongchuang 2016-08-09 02:29:52 +08:00 committed by Daniel Verkamp
parent 2c83419518
commit 4d01cd7d8a

View File

@ -168,7 +168,7 @@ hello_world(void)
*/
ns_entry->qpair = spdk_nvme_ctrlr_alloc_io_qpair(ns_entry->ctrlr, 0);
if (ns_entry->qpair == NULL) {
printf("ERROR: init_ns_worker_ctx() failed\n");
printf("ERROR: spdk_nvme_ctrlr_alloc_io_qpair() failed\n");
return;
}