From 142b2c66c45c86670541d84fe204f0f51d1a7d3e Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Sun, 23 Feb 2014 14:19:07 +0100 Subject: [PATCH] Fix symlinkat(2) calling sys_linkat rather than sys_symlinkat. --- libc/unistd/symlinkat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/unistd/symlinkat.cpp b/libc/unistd/symlinkat.cpp index dc4e698b..01e86f3d 100644 --- a/libc/unistd/symlinkat.cpp +++ b/libc/unistd/symlinkat.cpp @@ -27,7 +27,7 @@ #include #include -DEFN_SYSCALL3(int, sys_symlinkat, SYSCALL_LINKAT, const char*, int, const char*); +DEFN_SYSCALL3(int, sys_symlinkat, SYSCALL_SYMLINKAT, const char*, int, const char*); extern "C" int symlinkat(const char* oldpath, int newdirfd, const char* newpath) {