diff options
| author | Toby Goodwin <toby@paccrat.org> | 2018-03-26 18:20:39 +0100 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2018-03-26 18:20:39 +0100 |
| commit | 969af168ea450bf79f800da620efefa91ed1f174 (patch) | |
| tree | 7529bca2579f102d23d4e3a000b6ec54312cf2d4 /signal.c | |
| parent | 9475ab261beabd848267f925940c15f9fd6eb96e (diff) | |
whitespace cleanups
Diffstat (limited to 'signal.c')
| -rw-r--r-- | signal.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -16,8 +16,8 @@ void (*sys_signal(int signum, void (*handler)(int)))(int) { new.sa_flags = 0; /* clear SA_RESTART */ sigfillset(&new.sa_mask); if (sigaction(signum, &new, &old) == 0) - return old.sa_handler; - return SIG_DFL; + return old.sa_handler; + return SIG_DFL; } #else void (*sys_signal(int signum, void (*handler)(int)))(int) { |