#include "syscall.h"
#include "libc.h"
-int lstat(const char *path, struct stat *buf)
+int lstat(const char *restrict path, struct stat *restrict buf)
{
- return syscall2(__NR_lstat, (long)path, (long)buf);
+ return syscall(SYS_lstat, path, buf);
}
LFS64(lstat);