aboutsummaryrefslogtreecommitdiff
path: root/sysutils/smartmontools
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2018-02-27 18:05:47 +0000
committerMathieu Arnold <mat@FreeBSD.org>2018-02-27 18:05:47 +0000
commit0b374af2e662c8e0d9d0c2976730dc0616028ba6 (patch)
tree6ea282985a7a9ae38246cefd5fa10cc0bea04838 /sysutils/smartmontools
parent90c60374b077fead020628360cf2f4bb5469214e (diff)
downloadports-0b374af2e662c8e0d9d0c2976730dc0616028ba6.tar.gz
ports-0b374af2e662c8e0d9d0c2976730dc0616028ba6.zip
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 0bd021c9502c..d174a536668a 100644
--- a/sysutils/smartmontools/files/patch-os__freebsd.cpp
+++ b/sysutils/smartmontools/files/patch-os__freebsd.cpp
@@ -25,7 +25,7 @@
+#if __FreeBSD_version >= 1200058
+ pt.cmd.opc_fuse = NVME_CMD_SET_OPC(in.opcode);
+#else
-+ pt.cmd.opc_fuse = in.opcode;
++ pt.cmd.opc = in.opcode;
+#endif
pt.cmd.nsid = in.nsid;
pt.buf = in.buffer;