From: Stefan Hajnoczi Date: Wed, 15 Feb 2023 15:46:34 +0000 (-0500) Subject: nvme: fix /dev/spkd/ typo X-Git-Tag: v2.4~64 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=942d2840d276a24dc4a01cdf174f89037c0e9465;p=users%2Fsagi%2Fnvme-cli.git nvme: fix /dev/spkd/ typo SPDK NVMe character devices are located at /dev/spdk/ according to the documentation (https://spdk.io/doc/nvme.html#nvme_cuse). Fix the typo. Fixes: 6c9f792f99aa8782b32635c44e3a573bbb36c830 ("nvme: Print full device path") Cc: Daniel Wagner Signed-off-by: Stefan Hajnoczi --- diff --git a/nvme-print.c b/nvme-print.c index ec98fe30..f7c4053c 100644 --- a/nvme-print.c +++ b/nvme-print.c @@ -5120,7 +5120,7 @@ void nvme_generic_full_path(nvme_ns_t n, char *path, size_t len) if (stat(path, &st) == 0) return; - snprintf(path, len, "/dev/spkd/ng%dn%d", instance, head_instance); + snprintf(path, len, "/dev/spdk/ng%dn%d", instance, head_instance); if (stat(path, &st) == 0) return; /*