aboutsummaryrefslogtreecommitdiff
path: root/sysutils/smartmontools
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2018-09-07 15:45:14 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2018-09-07 15:45:14 +0000
commit7181b82ac11216f49119984ec5ee773388a3dc2c (patch)
tree353213c7af54b7b1359030a01ee5f7b731e96ab3 /sysutils/smartmontools
parent85efb6936c407255e4bccb8c32f9cab1bd6b7daa (diff)
Notes
Diffstat (limited to 'sysutils/smartmontools')
-rw-r--r--sysutils/smartmontools/files/patch-os__freebsd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysutils/smartmontools/files/patch-os__freebsd.cpp b/sysutils/smartmontools/files/patch-os__freebsd.cpp
index 87e960a3f22b..1418f1925d51 100644
--- a/sysutils/smartmontools/files/patch-os__freebsd.cpp
+++ b/sysutils/smartmontools/files/patch-os__freebsd.cpp
@@ -22,7 +22,7 @@
struct nvme_pt_command pt;
memset(&pt, 0, sizeof(pt));
-+#if __FreeBSD_version >= 1200058
++#if __FreeBSD_version >= 1200058 && __FreeBSD_version < 1200081
+ pt.cmd.opc_fuse = NVME_CMD_SET_OPC(in.opcode);
+#else
pt.cmd.opc = in.opcode;