diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/dl-openat64.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/dl-openat64.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/dl-openat64.c b/sysdeps/unix/sysv/linux/dl-openat64.c index 732097dd92..7d100bb321 100644 --- a/sysdeps/unix/sysv/linux/dl-openat64.c +++ b/sysdeps/unix/sysv/linux/dl-openat64.c @@ -33,7 +33,6 @@ openat64 (dfd, file, oflag) #ifdef __NR_openat return INLINE_SYSCALL (openat, 3, dfd, file, oflag | O_LARGEFILE); #else - __set_errno (ENOSYS); - return -1; + return INLINE_SYSCALL_ERROR_RETURN_VALUE (ENOSYS); #endif } |