aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/time/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/time/time.c')
-rw-r--r--usr.bin/time/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/time/time.c b/usr.bin/time/time.c
index 92148ab2e35b..4c1ce06543e3 100644
--- a/usr.bin/time/time.c
+++ b/usr.bin/time/time.c
@@ -54,7 +54,7 @@ static void showtime(FILE *, struct timespec *, struct timespec *,
static void siginfo(int);
static void usage(void) __dead2;
-static sig_atomic_t siginfo_recvd;
+static volatile sig_atomic_t siginfo_recvd;
static char decimal_point;
static struct timespec before_ts;
static int hflag, pflag;