From aa8666f77b1f605dced47a822a8b74b9c1326fed Mon Sep 17 00:00:00 2001 From: "greg@kroah.com" Date: Thu, 2 Dec 2004 22:14:57 -0800 Subject: [PATCH] [PATCH] fix spurious valgrind warning in udev. --- udev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/udev.c b/udev.c index efeb1b505..e71cddd3e 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;