aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib/opensolaris/lib/libdtrace
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2017-11-24 19:05:45 +0000
committerMark Johnston <markj@FreeBSD.org>2017-11-24 19:05:45 +0000
commiteb381edab77b397af0b80dab698d6bad37755b26 (patch)
treedfa7896fc24b355501d034ee3c3cee9d56fe7294 /cddl/contrib/opensolaris/lib/libdtrace
parentdbe4541db264f4096fd68f89ed74bf52bd6e9694 (diff)
downloadsrc-eb381edab77b397af0b80dab698d6bad37755b26.tar.gz
src-eb381edab77b397af0b80dab698d6bad37755b26.zip
Fix the type signature for sx(9) DTrace subroutines.
MFC after: 1 week
Notes
Notes: svn path=/head/; revision=326177
Diffstat (limited to 'cddl/contrib/opensolaris/lib/libdtrace')
-rw-r--r--cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c
index c28ac38797ab..91304548f094 100644
--- a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c
+++ b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c
@@ -1315,7 +1315,7 @@ alloc:
snprintf(intmtx_str, sizeof(intmtx_str), "int(%s`struct mtx *)",p);
snprintf(threadmtx_str, sizeof(threadmtx_str), "struct thread *(%s`struct mtx *)",p);
snprintf(rwlock_str, sizeof(rwlock_str), "int(%s`struct rwlock *)",p);
- snprintf(sxlock_str, sizeof(sxlock_str), "int(%s`struct sxlock *)",p);
+ snprintf(sxlock_str, sizeof(sxlock_str), "int(%s`struct sx *)",p);
}
#endif