nvme:fixup print in hello_world (#35)
Signed-off-by: gongchuang <gong.chuang@zte.com.cn>
This commit is contained in:
parent
2c83419518
commit
4d01cd7d8a
@ -168,7 +168,7 @@ hello_world(void)
|
|||||||
*/
|
*/
|
||||||
ns_entry->qpair = spdk_nvme_ctrlr_alloc_io_qpair(ns_entry->ctrlr, 0);
|
ns_entry->qpair = spdk_nvme_ctrlr_alloc_io_qpair(ns_entry->ctrlr, 0);
|
||||||
if (ns_entry->qpair == NULL) {
|
if (ns_entry->qpair == NULL) {
|
||||||
printf("ERROR: init_ns_worker_ctx() failed\n");
|
printf("ERROR: spdk_nvme_ctrlr_alloc_io_qpair() failed\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user