summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2008-11-24 04:30:33 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2008-11-24 04:30:33 +0000
commit7fbf1efc7ee718141be6b8105791ae9bdc6bf0d0 (patch)
treee628598326e00c3eee7ca60f522b0e66f9ee23ec
parent5aeb2e90eaecfeb8cd6fd361603e2438561a45ec (diff)
remove trailing "\n" from errx()
-rw-r--r--sbin/ifconfig/ifconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c
index 3e81addeaff..6f4f025701a 100644
--- a/sbin/ifconfig/ifconfig.c
+++ b/sbin/ifconfig/ifconfig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ifconfig.c,v 1.207 2008/11/17 22:23:14 mpf Exp $ */
+/* $OpenBSD: ifconfig.c,v 1.208 2008/11/24 04:30:32 stevesk Exp $ */
/* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */
/*
@@ -1609,7 +1609,7 @@ setifwpapsk(const char *val, int d)
len = sizeof(psk.i_psk);
val = get_string(val, NULL, psk.i_psk, &len);
if (val == NULL)
- errx(1, "wpapsk: invalid pre-shared key\n");
+ errx(1, "wpapsk: invalid pre-shared key");
if (len != sizeof(psk.i_psk))
errx(1, "wpapsk: bad pre-shared key length");
psk.i_enabled = 1;