summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-10-11 20:59:47 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-10-11 20:59:47 +0000
commit6e67167a388cd82a71a10c9c3728c38e83e44433 (patch)
treea8ad1afffa01780374f30643e5d0a1d22f80e588
parent69658dfe898e677cfd2804bbbd0183101124e89f (diff)
missing arg to errx
-rw-r--r--usr.bin/mail/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mail/main.c b/usr.bin/mail/main.c
index 1eb210a0204..e8ffac609eb 100644
--- a/usr.bin/mail/main.c
+++ b/usr.bin/mail/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.13 2001/09/07 01:19:15 millert Exp $ */
+/* $OpenBSD: main.c,v 1.14 2001/10/11 20:59:46 millert Exp $ */
/* $NetBSD: main.c,v 1.7 1997/05/13 06:15:57 mikel Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)main.c 8.2 (Berkeley) 4/20/95";
#else
-static char rcsid[] = "$OpenBSD: main.c,v 1.13 2001/09/07 01:19:15 millert Exp $";
+static char rcsid[] = "$OpenBSD: main.c,v 1.14 2001/10/11 20:59:46 millert Exp $";
#endif
#endif /* not lint */
@@ -115,7 +115,7 @@ main(argc, argv)
* Next argument is person to pretend to be.
*/
if (strlen(optarg) >= MAXLOGNAME)
- errx(1, "username `%s' too long");
+ errx(1, "username `%s' too long", optarg);
unsetenv("MAIL");
myname = optarg;
uflag = 1;