summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-12-02 22:14:57 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 22:43:20 -0700
commitaa8666f77b1f605dced47a822a8b74b9c1326fed (patch)
treed6a5ea69ccccd7fbb7bfa7a1e3106095ca0f9f81
parent67aca2c50984d0b463c714eba142f33bb07f45a2 (diff)
[PATCH] fix spurious valgrind warning in udev.
-rw-r--r--udev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/udev.c b/udev.c
index efeb1b5050..e71cddd3ee 100644
--- a/udev.c
+++ b/udev.c
@@ -108,6 +108,7 @@ int main(int argc, char *argv[], char *envp[])
udev_init_config();
/* set signal handlers */
+ memset(&act, 0x00, sizeof(act));
act.sa_handler = (void (*) (int))sig_handler;
sigemptyset (&act.sa_mask);
act.sa_flags = 0;