From aa398f56fa398f2202b04e82c67f822f3233786f Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 20 Mar 2011 00:16:43 -0400 Subject: global cleanup to use the new syscall interface --- src/unistd/renameat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unistd/renameat.c') diff --git a/src/unistd/renameat.c b/src/unistd/renameat.c index 0dae9f11..12574822 100644 --- a/src/unistd/renameat.c +++ b/src/unistd/renameat.c @@ -3,5 +3,5 @@ int renameat(int oldfd, const char *old, int newfd, const char *new) { - return syscall4(__NR_renameat, oldfd, (long)old, newfd, (long)new); + return syscall(SYS_renameat, oldfd, old, newfd, new); } -- cgit v1.2.1