summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--udevd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/udevd.c b/udevd.c
index 53c7bf3df1..7d7fd63332 100644
--- a/udevd.c
+++ b/udevd.c
@@ -690,6 +690,7 @@ int main(int argc, char *argv[], char *envp[])
dbg("error fcntl on write pipe: %s", strerror(errno));
/* set signal handlers */
+ memset(&act, 0x00, sizeof(struct sigaction));
act.sa_handler = (void (*) (int))sig_handler;
sigemptyset(&act.sa_mask);
act.sa_flags = SA_RESTART;