diff options
author | naddy <naddy@FreeBSD.org> | 2002-07-02 10:51:09 +0000 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2002-07-02 10:51:09 +0000 |
commit | db272949cf8ac5fc7dd8e1dc21413e9d96a2ba6a (patch) | |
tree | ea9a90941d1512e8e13efcce6d11370657a75908 /usr.sbin/atm/atmarpd | |
parent | 4f90d44b0dc59d506ef65ea2dc535c30106cd5cc (diff) | |
download | FreeBSD-src-db272949cf8ac5fc7dd8e1dc21413e9d96a2ba6a.zip FreeBSD-src-db272949cf8ac5fc7dd8e1dc21413e9d96a2ba6a.tar.gz |
LP64 cleanup: don't cast pointer to int.
Diffstat (limited to 'usr.sbin/atm/atmarpd')
-rw-r--r-- | usr.sbin/atm/atmarpd/atmarpd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/atm/atmarpd/atmarpd.c b/usr.sbin/atm/atmarpd/atmarpd.c index d221a59..2990665 100644 --- a/usr.sbin/atm/atmarpd/atmarpd.c +++ b/usr.sbin/atm/atmarpd/atmarpd.c @@ -294,8 +294,7 @@ daemon_bypass: /* * Set up signal handlers */ - rc = (int)signal(SIGINT, atmarp_sigint); - if (rc == -1) { + if (signal(SIGINT, atmarp_sigint) == SIG_ERR) { atmarp_log(LOG_ERR, "SIGINT signal setup failed"); exit(1); } |