chiark
/
gitweb
/
~mdw
/
tripe
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2ff8dd
)
client/tripectl.c: Fix format string bug in tripectl.
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 23 Dec 2008 00:55:29 +0000
(
00:55
+0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Tue, 23 Dec 2008 00:55:29 +0000
(
00:55
+0000)
OK, I'm seriously embarrassed about this one.
client/tripectl.c
patch
|
blob
|
blame
|
history
diff --git
a/client/tripectl.c
b/client/tripectl.c
index e171b0da8661b79f83a461875cd573f9f9909e56..661e51990c6fa981cc64851abaf63aeb7b25d6b2 100644
(file)
--- a/
client/tripectl.c
+++ b/
client/tripectl.c
@@
-263,7
+263,7
@@
static void logfile(const char *name)
else if (logname)
die(EXIT_FAILURE, d.buf);
if (f & f_syslog)
- syslog(LOG_ERR, d.buf);
+ syslog(LOG_ERR,
"%s",
d.buf);
dstr_destroy(&d);
}
}