summaryrefslogtreecommitdiff
path: root/bin/sleep/sleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sleep/sleep.c')
-rw-r--r--bin/sleep/sleep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/sleep/sleep.c b/bin/sleep/sleep.c
index b9774dd713e..7f1a9eeab99 100644
--- a/bin/sleep/sleep.c
+++ b/bin/sleep/sleep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sleep.c,v 1.3 1996/08/02 12:41:09 deraadt Exp $ */
+/* $OpenBSD: sleep.c,v 1.4 1997/01/15 23:40:28 millert Exp $ */
/* $NetBSD: sleep.c,v 1.8 1995/03/21 09:11:11 cgd Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)sleep.c 8.3 (Berkeley) 4/2/94";
#else
-static char rcsid[] = "$OpenBSD: sleep.c,v 1.3 1996/08/02 12:41:09 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: sleep.c,v 1.4 1997/01/15 23:40:28 millert Exp $";
#endif
#endif /* not lint */
@@ -64,7 +64,7 @@ main(argc, argv)
setlocale(LC_ALL, "");
- while ((ch = getopt(argc, argv, "")) != EOF)
+ while ((ch = getopt(argc, argv, "")) != -1)
switch(ch) {
default:
usage();