nixfiles/nixos/modules/nvme/libnvme-hostconf.patch
Jack O'Sullivan 4b48d7e788
All checks were successful
CI / Check, build and cache Nix flake (push) Successful in 17m30s
nixos/nvme: Add module
2023-12-12 01:37:14 +00:00

16 lines
431 B
Diff

diff --git a/src/nvme/fabrics.c b/src/nvme/fabrics.c
index 21fb292..f9090d1 100644
--- a/src/nvme/fabrics.c
+++ b/src/nvme/fabrics.c
@@ -41,8 +41,8 @@
#define NVMF_HOSTID_SIZE 37
-#define NVMF_HOSTNQN_FILE SYSCONFDIR "/nvme/hostnqn"
-#define NVMF_HOSTID_FILE SYSCONFDIR "/nvme/hostid"
+#define NVMF_HOSTNQN_FILE "/etc/nvme/hostnqn"
+#define NVMF_HOSTID_FILE "/etc/nvme/hostid"
const char *nvmf_dev = "/dev/nvme-fabrics";