Skip to content

Commit 4dda133

Browse files
committed
Merge branch 'ep/trace-doc-sample-fix' into maint
Fix a typo in an example in the trace API documentation. * ep/trace-doc-sample-fix: api-trace.txt: fix typo
2 parents 98eef48 + 4232b21 commit 4dda133

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/technical/api-trace.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ static struct trace_key trace_foo = TRACE_KEY_INIT(FOO);
2828

2929
static void trace_print_foo(const char *message)
3030
{
31-
trace_print_key(&trace_foo, message);
31+
trace_printf_key(&trace_foo, "%s", message);
3232
}
3333
------------
3434
+

0 commit comments

Comments
 (0)