summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2003-04-25 07:13:55 +0000
committertedu <tedu@openbsd.org>2003-04-25 07:13:55 +0000
commitb1a4acb0790f85ab240f2a165b339c8b89fb104e (patch)
tree3a3c6756e8942b8f71370f5488ac25a479c6a557
parentICMP types are u_int8_t. Use u_int8_t and %u for ICMP types instead of (diff)
downloadwireguard-openbsd-b1a4acb0790f85ab240f2a165b339c8b89fb104e.tar.xz
wireguard-openbsd-b1a4acb0790f85ab240f2a165b339c8b89fb104e.zip
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);
}