summaryrefslogtreecommitdiff
path: root/lib/libc/arch/m68k/net/htons.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch/m68k/net/htons.S')
-rw-r--r--lib/libc/arch/m68k/net/htons.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/arch/m68k/net/htons.S b/lib/libc/arch/m68k/net/htons.S
index 47d22132036..3fe9cfab4e2 100644
--- a/lib/libc/arch/m68k/net/htons.S
+++ b/lib/libc/arch/m68k/net/htons.S
@@ -36,6 +36,6 @@
#include "DEFS.h"
ENTRY(htons)
- clrl d0
- movw sp@(6),d0
+ clrl %d0
+ movw %sp@(6),%d0
rts