summaryrefslogtreecommitdiff
path: root/lib/libc/arch/m88k/gen/fpgetsticky.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch/m88k/gen/fpgetsticky.c')
-rw-r--r--lib/libc/arch/m88k/gen/fpgetsticky.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/arch/m88k/gen/fpgetsticky.c b/lib/libc/arch/m88k/gen/fpgetsticky.c
index 05258e4b8e0..ae92201c48b 100644
--- a/lib/libc/arch/m88k/gen/fpgetsticky.c
+++ b/lib/libc/arch/m88k/gen/fpgetsticky.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpgetsticky.c,v 1.3 2005/08/07 16:40:14 espie Exp $ */
+/* $OpenBSD: fpgetsticky.c,v 1.4 2013/01/05 11:20:55 miod Exp $ */
/*
* Written by J.T. Conklin, Apr 10, 1995
@@ -13,6 +13,6 @@ fpgetsticky()
{
int x;
- __asm__ volatile("fldcr %0,fcr62" : "=r" (x));
+ __asm__ volatile("fldcr %0, %%fcr62" : "=r" (x));
return x & 0x1f;
}