]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
fabrics: Stop using nvme_msg from libnvme
authorDaniel Wagner <dwagner@suse.de>
Fri, 21 Jan 2022 17:01:33 +0000 (18:01 +0100)
committerDaniel Wagner <dwagner@suse.de>
Fri, 21 Jan 2022 17:01:33 +0000 (18:01 +0100)
commitfbf3168ab56dcb42eb868243a7017c1d2d49fcde
tree34e06e9154cefabe3ec69d40bb5f57b1d82c00f5
parent6d6a08b757fa1b2ad65af6a5bf8526a268065cb4
fabrics: Stop using nvme_msg from libnvme

nvme_msg() is logging function from libnvme. The cli should not use
the logging infrastructure from the library instead it should use it's
own infrastructure. At this point nvme-cli doesn't have one, so just
use the default stderr for all error messages.

This is a preperation step to unexport the nvme_msg() from libnvme.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
fabrics.c
nvme.h