about summary refs log tree commit diff
path: root/sysdeps/m68k/ffs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/m68k/ffs.c')
-rw-r--r--sysdeps/m68k/ffs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/m68k/ffs.c b/sysdeps/m68k/ffs.c
index d9ec2b1ced..9de7cf3c41 100644
--- a/sysdeps/m68k/ffs.c
+++ b/sysdeps/m68k/ffs.c
@@ -30,7 +30,7 @@ DEFUN(ffs, (x), int x)
 {
   int cnt;
 
-  asm("bfffo %1{#0:#0},%0" : "=d" (cnt) : "rm" (x & -x));
+  asm("bfffo %1{#0:#0},%0" : "=d" (cnt) : "dm" (x & -x));
 
   return 32 - cnt;
 }