summaryrefslogtreecommitdiff
path: root/malloc/tst-mallocfork.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-12-19 12:11:38 +0000
committerJakub Jelinek <jakub@redhat.com>2005-12-19 12:11:38 +0000
commit2c6cfe6853a30deb4af842aacc924fa298d0521a (patch)
tree7fcc409e499bb8e3d96522f7fc2393fc10e53db2 /malloc/tst-mallocfork.c
parent3ccb96cd41b38d0159bdf8aad229c3599864c65d (diff)
Updated to fedora-glibc-20051219T1003cvs/fedora-glibc-2_3_90-19
Diffstat (limited to 'malloc/tst-mallocfork.c')
-rw-r--r--malloc/tst-mallocfork.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/malloc/tst-mallocfork.c b/malloc/tst-mallocfork.c
index abbc9d83b6..f90ce94887 100644
--- a/malloc/tst-mallocfork.c
+++ b/malloc/tst-mallocfork.c
@@ -22,9 +22,8 @@ do_test (void)
{
pid_t parent = getpid ();
- struct sigaction action;
+ struct sigaction action = { .sa_handler = sig_handler };
sigemptyset (&action.sa_mask);
- action.sa_handler = sig_handler;
malloc (sizeof (int));