diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-04-13 14:12:38 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-04-13 14:12:39 -0700 |
commit | b330051982756f2f18a6718e603ceb99302dc16e (patch) | |
tree | daea29744bcc0dcdba2bfec51c2a01b500692c29 /Documentation/technical/api-trace.txt | |
parent | Merge branch 'jc/makefile-redirection-stderr' (diff) | |
parent | api-trace.txt: fix typo (diff) | |
download | tgif-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.txt | 2 |
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); } ------------ + |