summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libc/arm/SYS.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/arm/SYS.h b/lib/libc/arm/SYS.h
index 223c26b..558ce47 100644
--- a/lib/libc/arm/SYS.h
+++ b/lib/libc/arm/SYS.h
@@ -63,8 +63,8 @@
ENTRY(__CONCAT(__sys_, x)); \
.weak _C_LABEL(__CONCAT(_,x)); \
.set _C_LABEL(__CONCAT(_,x)),_C_LABEL(__CONCAT(__sys_,x)); \
- SYSTRAP(x)
- bcs PIC_SYM(CERROR, PLT)
+ SYSTRAP(x) \
+ bcs PIC_SYM(CERROR, PLT) \
RET
#define RSYSCALL(x) \
OpenPOWER on IntegriCloud