summaryrefslogtreecommitdiff
path: root/usr.sbin/bootp/bootpd
diff options
context:
space:
mode:
authorcgd <cgd@NetBSD.org>1994-12-23 16:52:30 +0000
committercgd <cgd@NetBSD.org>1994-12-23 16:52:30 +0000
commite08ec6db18e4702af4bf7aeef2abbeeaa8d7b308 (patch)
treeefdea7f4c1a9c3be03aa61fe1b8f07d56f23fed8 /usr.sbin/bootp/bootpd
parent7a5208fcc2b86fa60713da2a10f5f5f6e160e8e1 (diff)
play a bit safer with types.
Diffstat (limited to 'usr.sbin/bootp/bootpd')
-rw-r--r--usr.sbin/bootp/bootpd/bootpd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bootp/bootpd/bootpd.c b/usr.sbin/bootp/bootpd/bootpd.c
index fc7a5dd5195..dc07370b74a 100644
--- a/usr.sbin/bootp/bootpd/bootpd.c
+++ b/usr.sbin/bootp/bootpd/bootpd.c
@@ -21,7 +21,7 @@ SOFTWARE.
************************************************************************/
#ifndef lint
-static char rcsid[] = "$Id: bootpd.c,v 1.4 1994/08/24 18:14:44 gwr Exp $";
+static char rcsid[] = "$Id: bootpd.c,v 1.5 1994/12/23 16:52:31 cgd Exp $";
#endif
/*
@@ -481,11 +481,11 @@ main(argc, argv)
/*
* Set up signals to read or dump the table.
*/
- if ((int) signal(SIGHUP, catcher) < 0) {
+ if ((long) signal(SIGHUP, catcher) < 0) {
report(LOG_ERR, "signal: %s", get_errmsg());
exit(1);
}
- if ((int) signal(SIGUSR1, catcher) < 0) {
+ if ((long) signal(SIGUSR1, catcher) < 0) {
report(LOG_ERR, "signal: %s", get_errmsg());
exit(1);
}