~mdw
/
misc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed9fbd4
)
mtimeout.c: Fix (impossible) `printf' format-string bug.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 10 Jan 2014 14:54:29 +0000
(14:54 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 10 Jan 2014 14:54:29 +0000
(14:54 +0000)
mtimeout.c
patch
|
blob
|
blame
|
history
diff --git
a/mtimeout.c
b/mtimeout.c
index
9b22fb7
..
b376e8e
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);