summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-04-13 21:12:38 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-04-13 21:12:39 (GMT)
commitb330051982756f2f18a6718e603ceb99302dc16e (patch)
treedaea29744bcc0dcdba2bfec51c2a01b500692c29
parent8c9dec985eb5429a1116230bac5c3200b5c4d324 (diff)
parent4232b21f772fd66c028245cf997373be9ce369f7 (diff)
downloadgit-b330051982756f2f18a6718e603ceb99302dc16e.zip
git-b330051982756f2f18a6718e603ceb99302dc16e.tar.gz
git-b330051982756f2f18a6718e603ceb99302dc16e.tar.bz2
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
-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 389ae16..fadb597 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);
}
------------
+