]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
prlimit: fix SYS_ macro
authorKarel Zak <kzak@redhat.com>
Wed, 9 Nov 2011 10:53:49 +0000 (11:53 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 9 Nov 2011 10:53:49 +0000 (11:53 +0100)
Reported-by: "Voelker, Bernhard" <bernhard.voelker@siemens-enterprise.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/prlimit.c

index ec794d53c3a23d3609fd0b2c7d7e62f9ecbb9ada..d3f3503ee4aad7799f716f1398e7763203b071cf 100644 (file)
@@ -136,7 +136,7 @@ static int prlimit(pid_t p, int resource,
                   const struct rlimit *new_limit,
                   struct rlimit *old_limit)
 {
-       return syscall(SYS_prlimit, p, resource, new_limit, old_limit);
+       return syscall(SYS_prlimit64, p, resource, new_limit, old_limit);
 }
 #endif