Browse Source

Merge branch 'ep/trace-doc-sample-fix'

Fix a typo in an example in the trace API documentation.

* ep/trace-doc-sample-fix:
  api-trace.txt: fix typo
maint
Junio C Hamano 9 years ago
parent
commit
b330051982
  1. 2
      Documentation/technical/api-trace.txt

2
Documentation/technical/api-trace.txt

@ -28,7 +28,7 @@ static struct trace_key trace_foo = TRACE_KEY_INIT(FOO); @@ -28,7 +28,7 @@ static struct trace_key trace_foo = TRACE_KEY_INIT(FOO);

static void trace_print_foo(const char *message)
{
trace_print_key(&trace_foo, message);
trace_printf_key(&trace_foo, "%s", message);
}
------------
+

Loading…
Cancel
Save