diff options
| author | Jakob Kaivo <jkk@ung.org> | 2019-01-31 22:38:06 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2019-01-31 22:38:06 -0500 |
| commit | 9f0c88f77e364dd004af7244ca51bbeda5beaab5 (patch) | |
| tree | 9a6ab097c8ffb23877342f92f7ebd14c29de815b /nonstd | |
| parent | 3de455bc41a4d45630d77ca59c5a4291ea90bb53 (diff) | |
fix SC0
Diffstat (limited to 'nonstd')
| -rw-r--r-- | nonstd/syscall.h | 2 |
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; \ |
