diff options
-rw-r--r-- | src/basic/signal-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/signal-util.c b/src/basic/signal-util.c index 661ad00b11..27d094b7bd 100644 --- a/src/basic/signal-util.c +++ b/src/basic/signal-util.c @@ -268,7 +268,7 @@ int pop_pending_signal_internal(int sig, ...) { if (r < 0) return r; - r = sigtimedwait(&ss, NULL, &(struct timespec) { 0, 0 }); + r = sigtimedwait(&ss, NULL, &(const struct timespec) {}); if (r < 0) { if (errno == EAGAIN) return 0; |