summaryrefslogtreecommitdiff
path: root/src/misc/ulimit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/ulimit.c')
-rw-r--r--src/misc/ulimit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc/ulimit.c b/src/misc/ulimit.c
index f0eee3a0..1f59e8e6 100644
--- a/src/misc/ulimit.c
+++ b/src/misc/ulimit.c
@@ -13,7 +13,7 @@ long ulimit(int cmd, ...)
val = va_arg(ap, long);
va_end(ap);
rl.rlim_cur = 512ULL * val;
- if (setrlimit(RLIMIT_FSIZE, &rl)) return -1;
+ if (setrlimit(RLIMIT_FSIZE, &rl)) return -1;
}
return rl.rlim_cur / 512;
}