From: Martin Belanger Date: Thu, 7 Oct 2021 16:36:11 +0000 (-0400) Subject: Fix compiler warning. X-Git-Tag: v1.0-rc0~95^2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=e0ed2d57ec98f4315be7079b077d8479eb285207;p=users%2Fsagi%2Flibnvme.git Fix compiler warning. Signed-off-by: Martin Belanger martin_belanger@dell.com --- diff --git a/src/nvme/tree.c b/src/nvme/tree.c index 2c5837a1..83c71282 100644 --- a/src/nvme/tree.c +++ b/src/nvme/tree.c @@ -1120,7 +1120,8 @@ int nvme_init_ctrl(nvme_host_t h, nvme_ctrl_t c, int instance) else path = NULL; if (ret < 0) { - nvme_msg(LOG_ERR, "Failed to init subsystem %s\n", path); + nvme_msg(LOG_ERR, "Failed to init subsystem %s/%s\n", + nvme_subsys_sysfs_dir, subsys_name); if (path) free(path); goto out_free_subsys;