From: Mark Wooding Date: Sat, 29 Jun 2013 13:57:39 +0000 (+0100) Subject: exec.c: Fix a format string stupidity. X-Git-Tag: 1.3.7~13 X-Git-Url: https://git.distorted.org.uk/~mdw/fwd/commitdiff_plain/bb2eca325ef36a08022bf18b7d7f43f0138620e3 exec.c: Fix a format string stupidity. --- diff --git a/exec.c b/exec.c index 92c0b26..afd7942 100644 --- a/exec.c +++ b/exec.c @@ -272,8 +272,9 @@ static int rlimit_option(xlimit *xl, scanner *sc) break; case w_soft: if (v > rl->rlim_max) - error(sc, "soft limit %l exceeds hard limit %l for %s", - v, rl->rlim_max, chosen->rname); + error(sc, "soft limit %lu exceeds hard limit %lu for %s", + (unsigned long)v, (unsigned long)rl->rlim_max, + chosen->rname); rl->rlim_cur = v; break; case w_hard: