diff options
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/stand/libsa/time.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/libsa/time.c b/sys/arch/i386/stand/libsa/time.c index ddcdc10c626..d1612a3ccdc 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.18 2014/03/29 18:09:29 guenther Exp $ */ +/* $OpenBSD: time.c,v 1.19 2014/09/23 17:59:25 brad Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -83,7 +83,7 @@ bios_time_date(int f, u_int8_t *b) "movb %%dh, 2(%2)\n\t" "movb %%dl, 3(%2)\n\t" : "=a" (f) - : "0" (f), "p" (b) : "%ecx", "%edx", "cc"); + : "0" (f), "r" (b) : "%ecx", "%edx", "cc"); if (f & 0xff) return -1; |