diff options
| author | Jakob Kaivo <jkk@ung.org> | 2019-02-09 19:27:55 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2019-02-09 19:27:55 -0500 |
| commit | fe83840aa8e672c6391fa9642516e41a144340c5 (patch) | |
| tree | 993cd5ea966f6e9979b6ddc5be3bf10c80ed72a1 /src/nonstd/SYSCALL.c | |
| parent | 77a1100e9523c395fd0a27cbc4d1fa5b93ba4351 (diff) | |
unbreak
Diffstat (limited to 'src/nonstd/SYSCALL.c')
| -rw-r--r-- | src/nonstd/SYSCALL.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nonstd/SYSCALL.c b/src/nonstd/SYSCALL.c index 4c04ab1b..8f91d870 100644 --- a/src/nonstd/SYSCALL.c +++ b/src/nonstd/SYSCALL.c @@ -1,9 +1,9 @@ #include <nonstd/syscall.h> -#define SYSCALL(_name, _type, ...) +#define SYSCALL(_name, _type, _args) \ static int _scno = -2; \ if (_scno == -2) { _scno = ((syscall_lookup_t)__libc(SYSCALL_LOOKUP))(_name); } \ - _type _ret = __syscall(_scno, __VA_ARGS__); \ + _type _ret = __syscall(_scno, _args); \ if (_ret < 0) { \ errno = -_ret; \ return -1; \ |
