summaryrefslogtreecommitdiff
path: root/libexec/comsat
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2010-05-29 23:12:30 +0000
committerdholland <dholland@NetBSD.org>2010-05-29 23:12:30 +0000
commit8aaae434e3b31c4f934de9c04246f411a82cce2d (patch)
tree1c7739e6ad82f62b71a663d5a11d6b86294d4628 /libexec/comsat
parent3ba8be734758f28b361595f469eae8b182ebc7d3 (diff)
Remove useless cast, probably motivated by an older and stupider lint.
Diffstat (limited to 'libexec/comsat')
-rw-r--r--libexec/comsat/comsat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/comsat/comsat.c b/libexec/comsat/comsat.c
index bf165d8984b..3df67674cd5 100644
--- a/libexec/comsat/comsat.c
+++ b/libexec/comsat/comsat.c
@@ -1,4 +1,4 @@
-/* $NetBSD: comsat.c,v 1.41 2010/05/29 23:08:06 dholland Exp $ */
+/* $NetBSD: comsat.c,v 1.42 2010/05/29 23:12:30 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -36,7 +36,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\
#if 0
static char sccsid[] = "from: @(#)comsat.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: comsat.c,v 1.41 2010/05/29 23:08:06 dholland Exp $");
+__RCSID("$NetBSD: comsat.c,v 1.42 2010/05/29 23:12:30 dholland Exp $");
#endif
#endif /* not lint */
@@ -250,7 +250,7 @@ notify(const struct utmpentry *ep, off_t offset)
return;
}
(void)signal(SIGALRM, SIG_DFL);
- (void)alarm((u_int)30);
+ (void)alarm(30);
if ((tp = fopen(tty, "w")) == NULL) {
dsyslog(LOG_ERR, "open `%s' (%s)", tty, strerror(errno));
_exit(1);