summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Habets <thomas@habets.pp.se>2010-08-09 22:26:07 +0200
committerThomas Habets <thomas@habets.pp.se>2010-08-09 22:26:07 +0200
commit86112ba1232dda9ec8cc2bb57269ac2f4584e8cb (patch)
tree97ce6919d51d48636dc818264828754abdfb0b64 /src
parent853481d4a329db5975baf1dae8ac25bb9e83649a (diff)
downloadarping-86112ba1232dda9ec8cc2bb57269ac2f4584e8cb.tar.gz
use sig_atomic_t for sigint recording
Diffstat (limited to 'src')
-rw-r--r--src/arping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arping.c b/src/arping.c
index d5e2987..0057b41 100644
--- a/src/arping.c
+++ b/src/arping.c
@@ -134,7 +134,7 @@ static char dstmac[ETH_ALEN];
static char lastreplymac[ETH_ALEN];
/* doesn't need to be volatile */
-volatile int time_to_die = 0;
+volatile sig_atomic_t time_to_die = 0;
/**
*