diff options
Diffstat (limited to 'libgloss/arm/syscalls.c')
-rw-r--r-- | libgloss/arm/syscalls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgloss/arm/syscalls.c b/libgloss/arm/syscalls.c index a215d7a50..f0e60da8f 100644 --- a/libgloss/arm/syscalls.c +++ b/libgloss/arm/syscalls.c @@ -180,7 +180,7 @@ get_errno (void) return do_AngelSWI (AngelSWI_Reason_Errno, NULL); #else register r0 asm("r0"); - asm ("swi %a1" : "=3Dr"(r0) : "i" (SWI_GetErrno)); + asm ("swi %a1" : "=r"(r0) : "i" (SWI_GetErrno)); return r0; #endif } |