summaryrefslogtreecommitdiff
path: root/Documentation/technical
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-04-29 14:16:00 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-04-29 14:16:00 -0700
commit4dda133385cedfe530607b6ac9183eeefd2a7b2a (patch)
tree39c54c1a398f007483cbbaf3532e4c2921df4ec2 /Documentation/technical
parentMerge branch 'jc/makefile-redirection-stderr' into maint (diff)
parentapi-trace.txt: fix typo (diff)
downloadtgif-4dda133385cedfe530607b6ac9183eeefd2a7b2a.tar.xz
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
Diffstat (limited to 'Documentation/technical')
-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);
}
------------
+