summaryrefslogtreecommitdiffstats
path: root/module/spl
diff options
context:
space:
mode:
Diffstat (limited to 'module/spl')
-rw-r--r--module/spl/spl-debug.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/module/spl/spl-debug.c b/module/spl/spl-debug.c
index 4bcc34a8e..0dd59db56 100644
--- a/module/spl/spl-debug.c
+++ b/module/spl/spl-debug.c
@@ -686,9 +686,8 @@ spl_debug_msg(void *arg, int subsys, int mask, const char *file,
if (strchr(file, '/'))
file = strrchr(file, '/') + 1;
- trace_set_debug_header(&header, subsys, mask, line, 0);
-
tcd = trace_get_tcd();
+ trace_set_debug_header(&header, subsys, mask, line, 0);
if (tcd == NULL)
goto console;