From 0e68d09804fb9ec82af37045fb37c2ceefa391d5 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Thu, 27 Jan 2022 14:46:59 +0100 Subject: sig_atomic_t should be used with volatile --- reap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reap.c b/reap.c index 190068a..36e3884 100644 --- a/reap.c +++ b/reap.c @@ -21,7 +21,7 @@ #include #include -sig_atomic_t do_slay; +volatile sig_atomic_t do_slay; int do_wait; int verbose; int no_new_privs; -- cgit 1.4.1