From 03dc6e6eb5159d0107ae0ab2deedbd4a2d40c963 Mon Sep 17 00:00:00 2001 Message-Id: <03dc6e6eb5159d0107ae0ab2deedbd4a2d40c963.1715656047.git.mdw@distorted.org.uk> From: Mark Wooding Date: Fri, 10 Jan 2014 14:54:29 +0000 Subject: [PATCH] mtimeout.c: Fix (impossible) `printf' format-string bug. Organization: Straylight/Edgeware From: Mark Wooding --- mtimeout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mtimeout.c b/mtimeout.c index 9b22fb7..b376e8e 100644 --- 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); -- [mdw]