summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2012-04-06 17:25:00 +0000
committerderaadt <deraadt@openbsd.org>2012-04-06 17:25:00 +0000
commit5d655d409066a4e47c89f76558e113a50d41f01b (patch)
tree3efbd5c74695783768ad3290bbfa57f02e8da630
parentPut raidctl in the attic. (diff)
downloadwireguard-openbsd-5d655d409066a4e47c89f76558e113a50d41f01b.tar.xz
wireguard-openbsd-5d655d409066a4e47c89f76558e113a50d41f01b.zip
no need to (unsigned) a small constant
-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) {