aboutsummaryrefslogtreecommitdiff
path: root/support/xsigstack.c
diff options
context:
space:
mode:
Diffstat (limited to 'support/xsigstack.c')
-rw-r--r--support/xsigstack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/xsigstack.c b/support/xsigstack.c
index 415e659..08272c3 100644
--- a/support/xsigstack.c
+++ b/support/xsigstack.c
@@ -1,5 +1,5 @@
/* sigaltstack wrappers.
- Copyright (C) 2019-2024 Free Software Foundation, Inc.
+ Copyright (C) 2019-2025 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -64,7 +64,7 @@ xfree_sigstack (void *stack)
{
struct sigstack_desc *desc = stack;
- if (sigaltstack (&desc->old_stack, 0))
+ if (sigaltstack (&desc->old_stack, NULL))
FAIL_EXIT1 ("sigaltstack (restore old stack: sp=%p, size=%zu, flags=%u): "
"%m\n", desc->old_stack.ss_sp, desc->old_stack.ss_size,
desc->old_stack.ss_flags);