From 613ff97130ca66fe1afafd67d67d25d68f511dd5 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Mon, 5 Jan 2009 16:47:42 +0000 Subject: [PATCH] Correct the type for the global var accessed in sig handlers. --- usr.sbin/burncd/burncd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/burncd/burncd.c b/usr.sbin/burncd/burncd.c index 083568658dd4..c4d1648e7bbc 100644 --- a/usr.sbin/burncd/burncd.c +++ b/usr.sbin/burncd/burncd.c @@ -59,7 +59,7 @@ struct track_info { }; static struct track_info tracks[100]; static int quiet, verbose, saved_block_size, notracks; -static volatile int global_fd_for_cleanup; +static volatile sig_atomic_t global_fd_for_cleanup; void add_track(char *, int, int, int); void do_DAO(int fd, int, int);