summaryrefslogtreecommitdiff
path: root/src/stdio/rename.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/rename.c')
-rw-r--r--src/stdio/rename.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stdio/rename.c b/src/stdio/rename.c
index 068cd73d..d213707b 100644
--- a/src/stdio/rename.c
+++ b/src/stdio/rename.c
@@ -1,11 +1,11 @@
#include <stdio.h>
#include "errno.h"
-#include "nonstd/syscall.h"
+#include "../_syscall.h"
/** rename a file **/
int rename(const char *old, const char *new)
{
- SYSCALL_NUMBER(sc, "rename", -1);
+ SYSCALL_NUMBER(sc, rename, -1);
int err = 0;
err = __syscall(sc, old, new);