git: f5541b85a592 - main - dtrace: fix constants used by the siftr probe

From: Michael Tuexen <tuexen_at_FreeBSD.org>
Date: Fri, 30 Jun 2023 20:19:10 UTC
The branch main has been updated by tuexen:

URL: https://cgit.FreeBSD.org/src/commit/?id=f5541b85a592da9e1e1723b190f1e08afd7d5b18

commit f5541b85a592da9e1e1723b190f1e08afd7d5b18
Author:     Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2023-06-30 20:15:47 +0000
Commit:     Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2023-06-30 20:15:47 +0000

    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
    MFC after:              3 days
    Sponsored by:           Netflix, Inc.
    Differential Revision:  https://reviews.freebsd.org/D40805
---
 cddl/lib/libdtrace/siftr.d | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cddl/lib/libdtrace/siftr.d b/cddl/lib/libdtrace/siftr.d
index 37bc30ff3e06..e75d41534268 100644
--- a/cddl/lib/libdtrace/siftr.d
+++ b/cddl/lib/libdtrace/siftr.d
@@ -29,9 +29,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