summaryrefslogtreecommitdiff
path: root/lib/libc/i386/gen/rfork_thread.S
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2001-11-27 20:51:26 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2001-11-27 20:51:26 +0000
commita1d8094b9e61c362e22e491f70d93107ddbc04fd (patch)
treec861b619553892862cf76f0f13e1c74fef9eebdd /lib/libc/i386/gen/rfork_thread.S
parent2e6c92ffcef57c2e8016d723813e371b28897d22 (diff)
Notes
Diffstat (limited to 'lib/libc/i386/gen/rfork_thread.S')
-rw-r--r--lib/libc/i386/gen/rfork_thread.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/i386/gen/rfork_thread.S b/lib/libc/i386/gen/rfork_thread.S
index 2d63b67c7d0c..9ce4a757307b 100644
--- a/lib/libc/i386/gen/rfork_thread.S
+++ b/lib/libc/i386/gen/rfork_thread.S
@@ -65,7 +65,7 @@ ENTRY(rfork_thread)
*/
pushl 8(%ebp)
pushl $0
- leal SYS_rfork, %eax
+ movl $SYS_rfork, %eax
KERNCALL
jb 2f
@@ -98,9 +98,9 @@ ENTRY(rfork_thread)
pushl %eax
pushl $0
#ifdef SYS_exit
- leal SYS_exit, %eax
+ movl $SYS_exit, %eax
#else
- leal SYS_sys_exit, %eax
+ movl $SYS_sys_exit, %eax
#endif
KERNCALL