Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
771e8db
)
e2fsck: fix valgrind commit in sigcatcher
author
Theodore Ts'o
<tytso@mit.edu>
Sat, 3 Sep 2011 13:43:50 +0000
(09:43 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Sat, 3 Sep 2011 13:43:50 +0000
(09:43 -0400)
Thanks to Andreas Dilger for catching this.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/sigcatcher.c
patch
|
blob
|
history
diff --git
a/e2fsck/sigcatcher.c
b/e2fsck/sigcatcher.c
index
45571ca
..
83f912d
100644
(file)
--- a/
e2fsck/sigcatcher.c
+++ b/
e2fsck/sigcatcher.c
@@
-218,6
+218,7
@@
void sigcatcher_setup(void)
{
struct sigaction sa;
+ memset(&sa, 0, sizeof(struct sigaction));
sa.sa_sigaction = die_signal_handler;
sa.sa_flags = SA_SIGINFO;