summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-05-29 05:24:02 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-05-29 05:24:02 +0000
commite014d55ae0d8bb00a4caf40208563605e05bebd2 (patch)
tree9de50860fcea587a2a3f2929a1d65b233447db8f /sys/arch/i386
parent20803d022aa05d9086ace16999b22891baa19bb1 (diff)
safety
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/stand/libsa/biostime.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/stand/libsa/biostime.S b/sys/arch/i386/stand/libsa/biostime.S
index 0aafa0e2519..7c850cf849b 100644
--- a/sys/arch/i386/stand/libsa/biostime.S
+++ b/sys/arch/i386/stand/libsa/biostime.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: biostime.S,v 1.7 1997/04/29 00:16:13 mickey Exp $ */
+/* $OpenBSD: biostime.S,v 1.8 1997/05/29 05:24:01 mickey Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -45,7 +45,7 @@
* returns nonzero if failed
*/
ENTRY(usleep)
- pushl %ecx
+ pushl %ebx
movl 8(%esp), %ecx
movw %cx, %dx
@@ -58,7 +58,7 @@ ENTRY(usleep)
movl %ah, %al
1: movzbl %al, %eax
- popl %ecx
+ popl %ebx
ret