summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2003-04-25 07:13:56 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2003-04-25 07:13:56 +0000
commit959aec0334df62dfda23b737b0e22badf95683a8 (patch)
tree9b7764e7ebf83ae3b685e1fd32cb668da810f80f
parent25252f69b68424b28332f99fc8ac13bc101ab4d4 (diff)
minor tweak to error message, from Eric in pr3235
-rw-r--r--usr.bin/last/last.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/last/last.c b/usr.bin/last/last.c
index ca0b9f9ab11..c44fded656f 100644
--- a/usr.bin/last/last.c
+++ b/usr.bin/last/last.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: last.c,v 1.23 2003/04/14 02:04:58 deraadt Exp $ */
+/* $OpenBSD: last.c,v 1.24 2003/04/25 07:13:55 tedu Exp $ */
/* $NetBSD: last.c,v 1.6 1994/12/24 16:49:02 cgd Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)last.c 8.2 (Berkeley) 4/2/94";
#endif
-static char rcsid[] = "$OpenBSD: last.c,v 1.23 2003/04/14 02:04:58 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: last.c,v 1.24 2003/04/25 07:13:55 tedu Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -633,7 +633,7 @@ dateconv(arg)
timet = mktime(t);
if (timet == -1)
terr: errx(1,
- "out of range or illegal time specification: [[[CC]YY[MMDD]hhmm[.SS]");
+ "out of range or illegal time specification: [[[CC]YY]MMDD]hhmm[.SS]");
return (timet);
}