chiark
/
gitweb
/
~mdw
/
tripe
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
client/tripectl.c: Fix format string bug in tripectl.
[tripe]
/
client
/
tripectl.c
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);
}
}