chiark
/
gitweb
/
~mdw
/
fwd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1cd4a3b
)
exec.c: Fix a format string stupidity.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 29 Jun 2013 13:57:39 +0000
(14:57 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 29 Jun 2013 13:57:39 +0000
(14:57 +0100)
exec.c
patch
|
blob
|
blame
|
history
diff --git
a/exec.c
b/exec.c
index 92c0b266a075fe52254fa2ee58064c59df39165d..afd7942ba01db663a5ea68ec99a73032eac14b0e 100644
(file)
--- 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)
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:
rl->rlim_cur = v;
break;
case w_hard: