about summary refs log tree commit diff
path: root/nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S b/nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S
index 76d9fee3c6..afdec13e50 100644
--- a/nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S
+++ b/nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S
@@ -50,7 +50,7 @@ sem_timedwait:
 	jne	2b
 
 	xorl	%eax, %eax
-	ret
+	retq
 
 	/* Check whether the timeout value is valid.  */
 1:	subq	$16, %rsp
@@ -118,7 +118,7 @@ sem_timedwait:
 	movl	%eax, %fs:(%rdx)
 #else
 	movl	%eax, %edx
-	call	__errno_location@plt
+	callq	__errno_location@plt
 	movl	%edx, (%rax)
 #endif