From cf2b7c78a6fcfa436e3a89cf678f9af50b2155f0 Mon Sep 17 00:00:00 2001 From: Hamid Ebadi Date: Fri, 29 Sep 2017 14:11:48 +0200 Subject: [PATCH] rlimit64 to getrlimit64 --- cmdline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmdline.c b/cmdline.c index 516867d..d1bf302 100644 --- a/cmdline.c +++ b/cmdline.c @@ -258,7 +258,7 @@ void cmdlineLogParams(struct nsjconf_t *nsjconf) __rlim64_t cmdlineParseRLimit(int res, const char *optarg, unsigned long mul) { struct rlimit64 cur; - if (prlimit64(0, res, NULL, &cur) == -1) { + if (getrlimit64(res, &cur) == -1) { PLOG_F("getrlimit(%d)", res); } if (strcasecmp(optarg, "max") == 0) { -- 2.7.4