chiark
/
gitweb
/
~mdw
/
misc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mtimeout.c: Fix (impossible) `printf' format-string bug.
[misc]
/
mtimeout.c
diff --git
a/mtimeout.c
b/mtimeout.c
index 9b22fb76f2dc438d32f978bccb9718d04ac57ffa..b376e8e6518daa0650ed5b722719348fea7d6f20 100644
(file)
--- a/
mtimeout.c
+++ b/
mtimeout.c
@@
-361,7
+361,7
@@
static void timeout(struct timeval *now, void *p)
ta = &t->ta[t->ip++];
switch (ta->act) {
case TA_MOAN:
- moan(ta->u.s);
+ moan(
"%s",
ta->u.s);
break;
case TA_KILL:
kill(-t->kid, ta->u.i);