Commit 646260ad authored by topjohnwu's avatar topjohnwu

Fix typo

parent d1d26f44
...@@ -9,10 +9,10 @@ ...@@ -9,10 +9,10 @@
static inline int sigtimedwait(const sigset_t* set, siginfo_t* info, const timespec* timeout) { static inline int sigtimedwait(const sigset_t* set, siginfo_t* info, const timespec* timeout) {
union { union {
sigset_t set; sigset_t set;
sigset_t set64; sigset64_t set64;
} s{}; } s{};
s.set = *set; s.set = *set;
return syscall(__NR_rt_sigtimedwait, &s.set64, info, timeout, sizeof(sigset64_t)); return syscall(__NR_rt_sigtimedwait, &s.set64, info, timeout, sizeof(s.set64));
} }
static inline int fexecve(int fd, char* const* argv, char* const* envp) { static inline int fexecve(int fd, char* const* argv, char* const* envp) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment