summaryrefslogtreecommitdiff
path: root/Documentation/technical/api-trace.txt
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-04-13 14:12:38 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-04-13 14:12:39 -0700
commitb330051982756f2f18a6718e603ceb99302dc16e (patch)
treedaea29744bcc0dcdba2bfec51c2a01b500692c29 /Documentation/technical/api-trace.txt
parentMerge branch 'jc/makefile-redirection-stderr' (diff)
parentapi-trace.txt: fix typo (diff)
downloadtgif-b330051982756f2f18a6718e603ceb99302dc16e.tar.xz
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
Diffstat (limited to 'Documentation/technical/api-trace.txt')
-rw-r--r--Documentation/technical/api-trace.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/technical/api-trace.txt b/Documentation/technical/api-trace.txt
index 389ae16d15..fadb5979c4 100644
--- a/Documentation/technical/api-trace.txt
+++ b/Documentation/technical/api-trace.txt
@@ -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);
}
------------
+