Fix symlinkat(2) calling sys_linkat rather than sys_symlinkat.
This commit is contained in:
parent
4227d97f55
commit
142b2c66c4
|
@ -27,7 +27,7 @@
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
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)
|
extern "C" int symlinkat(const char* oldpath, int newdirfd, const char* newpath)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue