diff options
author | Michael Tuexen <tuexen@FreeBSD.org> | 2023-06-30 20:15:47 +0000 |
---|---|---|
committer | Michael Tuexen <tuexen@FreeBSD.org> | 2024-01-11 09:00:33 +0000 |
commit | dc2408133b6dfba0c080805f4a137cadece33fa9 (patch) | |
tree | 98ca645d4f38a0f17119110a799071481595d376 /cddl | |
parent | d5ffa4b1a45943ca55740bc51df1f0912c953c22 (diff) |
dtrace: fix constants used by the siftr probe
The constants used in the C code were changed in
https://svnweb.freebsd.org/changeset/base/343646
but changing them also in the dtrace translator was missed.
Reviewed by: cc, rscheff
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D40805
(cherry picked from commit f5541b85a592da9e1e1723b190f1e08afd7d5b18)
Diffstat (limited to 'cddl')
-rw-r--r-- | cddl/lib/libdtrace/siftr.d | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cddl/lib/libdtrace/siftr.d b/cddl/lib/libdtrace/siftr.d index 05b95ee15a72..1830c0406e1c 100644 --- a/cddl/lib/libdtrace/siftr.d +++ b/cddl/lib/libdtrace/siftr.d @@ -27,9 +27,9 @@ * Convert a SIFTR direction value to a string */ #pragma D binding "1.12.1" SIFTR_IN -inline int SIFTR_IN = 1; +inline int SIFTR_IN = 0; #pragma D binding "1.12.1" SIFTR_OUT -inline int SIFTR_OUT = 2; +inline int SIFTR_OUT = 1; /* SIFTR direction strings. */ #pragma D binding "1.12.1" siftr_dir_string |