diff options
author | Thomas Habets <thomas@habets.pp.se> | 2010-08-09 22:26:07 +0200 |
---|---|---|
committer | Thomas Habets <thomas@habets.pp.se> | 2010-08-09 22:26:07 +0200 |
commit | 86112ba1232dda9ec8cc2bb57269ac2f4584e8cb (patch) | |
tree | 97ce6919d51d48636dc818264828754abdfb0b64 /src | |
parent | 853481d4a329db5975baf1dae8ac25bb9e83649a (diff) | |
download | arping-86112ba1232dda9ec8cc2bb57269ac2f4584e8cb.tar.gz |
use sig_atomic_t for sigint recording
Diffstat (limited to 'src')
-rw-r--r-- | src/arping.c | 2 |
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; /** * |