projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0899ff
)
Add missing fprintf format
author
David Goulet
<david.goulet@polymtl.ca>
Fri, 22 Jul 2011 20:00:26 +0000
(16:00 -0400)
committer
David Goulet
<david.goulet@polymtl.ca>
Fri, 22 Jul 2011 20:00:26 +0000
(16:00 -0400)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
lttng/commands/add_context.c
patch
|
blob
|
blame
|
history
diff --git
a/lttng/commands/add_context.c
b/lttng/commands/add_context.c
index a622622f1e0ef736721db9fec1c61d70fb277c55..38d3cc1dc1425050c0f4740482f6a6157e180418 100644
(file)
--- a/
lttng/commands/add_context.c
+++ b/
lttng/commands/add_context.c
@@
-267,14
+267,14
@@
static void print_ctx_type(FILE *ofp)
int indent_len = strlen(indent);
int len, i = 0;
- fprintf(ofp, indent);
+ fprintf(ofp,
"%s",
indent);
len = indent_len;
while (ctx_opts[i].symbol != NULL) {
if (len > indent_len) {
if (len + strlen(ctx_opts[i].symbol) + 2
>= PRINT_LINE_LEN) {
fprintf(ofp, ",\n");
- fprintf(ofp, indent);
+ fprintf(ofp,
"%s",
indent);
len = indent_len;
} else {
len += fprintf(ofp, ", ");
This page took
0.027114 seconds
and
4
git commands to generate.