summaryrefslogtreecommitdiff
path: root/nonstd/syscall.h
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-01-31 22:38:06 -0500
committerJakob Kaivo <jkk@ung.org>2019-01-31 22:38:06 -0500
commit9f0c88f77e364dd004af7244ca51bbeda5beaab5 (patch)
tree9a6ab097c8ffb23877342f92f7ebd14c29de815b /nonstd/syscall.h
parent3de455bc41a4d45630d77ca59c5a4291ea90bb53 (diff)
fix SC0
Diffstat (limited to 'nonstd/syscall.h')
-rw-r--r--nonstd/syscall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nonstd/syscall.h b/nonstd/syscall.h
index e77ceeaa..e698f40d 100644
--- a/nonstd/syscall.h
+++ b/nonstd/syscall.h
@@ -28,7 +28,7 @@
#define SC0(_type) static int _scno = -2; \
if (_scno == -2) { _scno = __libc.syscall_lookup(__func__); } \
- _type __ret = __libc.syscall(_scno); \
+ _type _ret = __libc.syscall(_scno); \
if (_ret < 0) { \
errno = -_ret; \
return -1; \