summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2009-01-05 16:47:42 +0000
committerobrien <obrien@FreeBSD.org>2009-01-05 16:47:42 +0000
commit8332bb6d49b6c5d4221868c61e8f9e7796794879 (patch)
treeca0ee084bdb618cfe46ecbb2674666e97c38ad67 /usr.sbin
parent6f2df61ea711cc351cd554ff7b77e83d7aeb29c6 (diff)
downloadFreeBSD-src-8332bb6d49b6c5d4221868c61e8f9e7796794879.zip
FreeBSD-src-8332bb6d49b6c5d4221868c61e8f9e7796794879.tar.gz
Correct the type for the global var accessed in sig handlers.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/burncd/burncd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/burncd/burncd.c b/usr.sbin/burncd/burncd.c
index 0835686..c4d1648 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);
OpenPOWER on IntegriCloud