aboutsummaryrefslogtreecommitdiff
path: root/Documentation/technical
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-04-29 14:16:00 -0700
committerJunio C Hamano <gitster@pobox.com>2016-04-29 14:16:00 -0700
commit4dda133385cedfe530607b6ac9183eeefd2a7b2a (patch)
tree39c54c1a398f007483cbbaf3532e4c2921df4ec2 /Documentation/technical
parent98eef4825770fa75f7397fcd10cdd5c8efaac210 (diff)
parent4232b21f772fd66c028245cf997373be9ce369f7 (diff)
downloadgit-4dda133385cedfe530607b6ac9183eeefd2a7b2a.tar.gz
git-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 389ae16d1..fadb5979c 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);
}
------------
+