diff options
Diffstat (limited to 'src/runtime/sys_darwin_arm64.s')
| -rw-r--r-- | src/runtime/sys_darwin_arm64.s | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/runtime/sys_darwin_arm64.s b/src/runtime/sys_darwin_arm64.s index 29951d8ad7..89a2b8a054 100644 --- a/src/runtime/sys_darwin_arm64.s +++ b/src/runtime/sys_darwin_arm64.s @@ -465,9 +465,9 @@ TEXT runtime·syscallX(SB),NOSPLIT,$0 ok: RET -// syscallXPtr is like syscallX except that the libc function reports an -// error by returning NULL. -TEXT runtime·syscallXPtr(SB),NOSPLIT,$0 +// syscallPtr is like syscallX except that the libc function reports an +// error by returning NULL and setting errno. +TEXT runtime·syscallPtr(SB),NOSPLIT,$0 SUB $16, RSP // push structure pointer MOVD R0, (RSP) |
