about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--extrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extrace.c b/extrace.c
index bf7a859..a00a1db 100644
--- a/extrace.c
+++ b/extrace.c
@@ -102,7 +102,7 @@ int show_env = 0;
 int show_exit = 0;
 int show_user = 0;
 FILE *output;
-sig_atomic_t quit = 0;
+volatile sig_atomic_t quit = 0;
 #define CPU_MAX 4096
 uint32_t last_seq[CPU_MAX];