summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-01-07 05:24:52 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-01-07 05:24:52 +0000
commitef0e2a63bea587ca5b25178d2a4c4ae27afa8236 (patch)
treeb15c189b62d9b49f5a9b53348a2ab5185c93880a
parent87cf8e5e196da06072c60ac2c65184e5a4d6bac8 (diff)
update asm syntax to match toolchain requirements
-rw-r--r--regress/sys/arch/m88k/usertrap/trap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/sys/arch/m88k/usertrap/trap.c b/regress/sys/arch/m88k/usertrap/trap.c
index 1f6de6263b5..c5ff7b213c0 100644
--- a/regress/sys/arch/m88k/usertrap/trap.c
+++ b/regress/sys/arch/m88k/usertrap/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.1 2004/04/24 13:19:15 miod Exp $ */
+/* $OpenBSD: trap.c,v 1.2 2013/01/07 05:24:51 miod Exp $ */
/*
* Simple test program to check what happens when userland tries to trap.
@@ -9,7 +9,7 @@
#define TRAP(num) \
case num: \
- __asm__ __volatile__ ("tb0 0, r0, " __STRING(num) ); \
+ __asm__ __volatile__ ("tb0 0, %r0, " __STRING(num) ); \
break;
int