aboutsummaryrefslogtreecommitdiffstats
path: root/include/os/linux/zfs/sys/trace_dbgmsg.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/os/linux/zfs/sys/trace_dbgmsg.h')
-rw-r--r--include/os/linux/zfs/sys/trace_dbgmsg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/os/linux/zfs/sys/trace_dbgmsg.h b/include/os/linux/zfs/sys/trace_dbgmsg.h
index 19f533baa..58081d64c 100644
--- a/include/os/linux/zfs/sys/trace_dbgmsg.h
+++ b/include/os/linux/zfs/sys/trace_dbgmsg.h
@@ -32,6 +32,7 @@
#define _TRACE_DBGMSG_H
#include <linux/tracepoint.h>
+#include <sys/types.h>
/*
* This file defines tracepoint events for use by the dbgmsg(),
@@ -59,7 +60,7 @@ DECLARE_EVENT_CLASS(zfs_dprintf_class,
__string(msg, msg)
),
TP_fast_assign(
- __assign_str(msg, msg);
+ __assign_str_impl(msg, msg);
),
TP_printk("%s", __get_str(msg))
);