this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #327 from lesderid/fix-sys_symlinkat

Fix sys_symlinkat() parameter order

authored by

Luboš Doležel and committed by
GitHub
6d128083 f4f3c1e5

+3 -3
+2 -2
src/kernel/emulation/linux/unistd/symlinkat.c
··· 7 7 8 8 extern char* strcpy(char* dst, const char* src); 9 9 10 - long sys_symlinkat(int fd, const char* path, const char* link) 10 + long sys_symlinkat(const char* path, int fd, const char* link) 11 11 { 12 12 int ret; 13 13 14 - ret = LINUX_SYSCALL(__NR_symlinkat, atfd(fd), path, link); 14 + ret = LINUX_SYSCALL(__NR_symlinkat, path, atfd(fd), link); 15 15 if (ret < 0) 16 16 ret = errno_linux_to_bsd(ret); 17 17
+1 -1
src/kernel/emulation/linux/unistd/symlinkat.h
··· 1 1 #ifndef LINUX_SYMLINKAT_H 2 2 #define LINUX_SYMLINKAT_H 3 3 4 - long sys_symlinkat(int fd, const char* path, const char* link); 4 + long sys_symlinkat(const char* path, int fd, const char* link); 5 5 6 6 #endif 7 7