summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2012-04-06 17:25:01 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2012-04-06 17:25:01 +0000
commit4789f5ebed1e4fc042f773a4d68a3db4c7b1a925 (patch)
treee9617ee1d3750e86c92576e380a84c96a633343b /sbin
parente8d45168caf97af2f07e4b01e19dea776736f630 (diff)
no need to (unsigned) a small constant
Diffstat (limited to 'sbin')
-rw-r--r--sbin/init/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/init/init.c b/sbin/init/init.c
index 8a22ba66aca..9dedc0668ab 100644
--- a/sbin/init/init.c
+++ b/sbin/init/init.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init.c,v 1.45 2010/10/15 07:11:02 dlg Exp $ */
+/* $OpenBSD: init.c,v 1.46 2012/04/06 17:25:00 deraadt Exp $ */
/* $NetBSD: init.c,v 1.22 1996/05/15 23:29:33 jtc Exp $ */
/*-
@@ -1062,7 +1062,7 @@ start_getty(session_t *sp)
current_time - sp->se_started < GETTY_SPACING) {
warning("getty repeating too quickly on port %s, sleeping",
sp->se_device);
- sleep((unsigned) GETTY_SLEEP);
+ sleep(GETTY_SLEEP);
}
if (sp->se_window) {