summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/lock/lock.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/lock/lock.c b/usr.bin/lock/lock.c
index f226cc96a79..8286d42a054 100644
--- a/usr.bin/lock/lock.c
+++ b/usr.bin/lock/lock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lock.c,v 1.15 2002/02/16 21:27:48 millert Exp $ */
+/* $OpenBSD: lock.c,v 1.16 2002/05/08 18:04:43 millert Exp $ */
/* $NetBSD: lock.c,v 1.8 1996/05/07 18:32:31 jtc Exp $ */
/*
@@ -47,7 +47,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)lock.c 8.1 (Berkeley) 6/6/93";
#endif
-static char rcsid[] = "$OpenBSD: lock.c,v 1.15 2002/02/16 21:27:48 millert Exp $";
+static char rcsid[] = "$OpenBSD: lock.c,v 1.16 2002/05/08 18:04:43 millert Exp $";
#endif /* not lint */
/*
@@ -244,5 +244,6 @@ bye(dummy)
{
if (!no_timeout)
- errx(1, "timeout");
+ warnx("timeout");
+ _exit(1);
}