summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-09-02 20:51:22 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-09-02 20:51:22 +0000
commita3e5810b1f52e58dbf7149e86fa193c35566a50f (patch)
tree6dd7cb2c24f50bca18475eb65da68177e162e05e
parente8f1f777279c50e2764124939e190fc900e889b7 (diff)
debug last consistency ci
-rw-r--r--sys/arch/i386/stand/libsa/time.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/i386/stand/libsa/time.c b/sys/arch/i386/stand/libsa/time.c
index fc02e34be3c..076f4351229 100644
--- a/sys/arch/i386/stand/libsa/time.c
+++ b/sys/arch/i386/stand/libsa/time.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: time.c,v 1.8 1997/08/31 07:54:18 mickey Exp $ */
+/* $OpenBSD: time.c,v 1.9 1997/09/02 20:51:21 mickey Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -84,10 +84,10 @@ bios_time_date(int f, register u_int8_t *b)
{
__asm __volatile(DOINT(0x1a) "\n\t"
"setc %b0\n\t"
- "movb %%ch, 0(%1)\n\t"
- "movb %%cl, 1(%1)\n\t"
- "movb %%dh, 2(%1)\n\t"
- "movb %%dl, 3(%1)\n\t"
+ "movb %%ch, 0(%2)\n\t"
+ "movb %%cl, 1(%2)\n\t"
+ "movb %%dh, 2(%2)\n\t"
+ "movb %%dl, 3(%2)\n\t"
: "=a" (f)
: "0" (f), "p" (b) : "%ecx", "%edx", "cc");
if (f & 0xff)