diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/sigwait.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/sigwait.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/sigwait.c b/sysdeps/unix/sysv/linux/sigwait.c index 37de8db..7809945 100644 --- a/sysdeps/unix/sysv/linux/sigwait.c +++ b/sysdeps/unix/sysv/linux/sigwait.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1997-2024 Free Software Foundation, Inc. +/* Copyright (C) 1997-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 @@ -25,7 +25,7 @@ __sigwait (const sigset_t *set, int *sig) siginfo_t si; int ret; do - ret = __sigtimedwait (set, &si, 0); + ret = __sigtimedwait (set, &si, NULL); /* Applications do not expect sigwait to return with EINTR, and the error code is not specified by POSIX. */ while (ret < 0 && errno == EINTR); |