diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-06-16 12:13:39 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-06-16 12:13:39 +0200 |
commit | 7350119f65649a58c34c531041af465a87f38fcc (patch) | |
tree | 6ecb352888e658911480c8965fe89c1af30a27db | |
parent | 00df19256d8b73c0c7492eb16327cd3a55b09004 (diff) |
signals.c: Initialise sa_flags, just to be safe
-rw-r--r-- | src/signals.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/signals.c b/src/signals.c index 73c3aa8..b3e118a 100644 --- a/src/signals.c +++ b/src/signals.c @@ -42,7 +42,8 @@ void setup_signal_handlers() } feh_sh.sa_handler = feh_handle_signal; - feh_sh.sa_mask = feh_ss; + feh_sh.sa_mask = feh_ss; + feh_sh.sa_flags = 0; if ( (sigaction(SIGUSR1, &feh_sh, NULL) == -1) || |