summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvincent <vincent@openbsd.org>2002-03-30 18:16:05 +0000
committervincent <vincent@openbsd.org>2002-03-30 18:16:05 +0000
commit245e04e6b78d5c55b24a8c0971204f1a9c003d8c (patch)
tree260f51dca7a30e760de2764bfea487e3f94e1491
parentThere is no 6Mbps mode, it is 5.5Mbps (diff)
downloadwireguard-openbsd-245e04e6b78d5c55b24a8c0971204f1a9c003d8c.tar.xz
wireguard-openbsd-245e04e6b78d5c55b24a8c0971204f1a9c003d8c.zip
warn -> warnx, because we put the strerror() manually.
ok millert
-rw-r--r--usr.bin/login/login.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/login/login.c b/usr.bin/login/login.c
index 1eddd99d53e..d819f423642 100644
--- a/usr.bin/login/login.c
+++ b/usr.bin/login/login.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: login.c,v 1.45 2002/02/16 21:27:48 millert Exp $ */
+/* $OpenBSD: login.c,v 1.46 2002/03/30 18:16:05 vincent Exp $ */
/* $NetBSD: login.c,v 1.13 1996/05/15 23:50:16 jtc Exp $ */
/*-
@@ -77,7 +77,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)login.c 8.4 (Berkeley) 4/2/94";
#endif
-static char rcsid[] = "$OpenBSD: login.c,v 1.45 2002/02/16 21:27:48 millert Exp $";
+static char rcsid[] = "$OpenBSD: login.c,v 1.46 2002/03/30 18:16:05 vincent Exp $";
#endif /* not lint */
/*
@@ -235,7 +235,7 @@ main(argc, argv)
break;
case 'h':
if (uid) {
- warn("-h option: %s", strerror(EPERM));
+ warnx("-h option: %s", strerror(EPERM));
quickexit(1);
}
if ((fqdn = strdup(optarg)) == NULL) {