From 7fbf1efc7ee718141be6b8105791ae9bdc6bf0d0 Mon Sep 17 00:00:00 2001 From: Kevin Steves Date: Mon, 24 Nov 2008 04:30:33 +0000 Subject: remove trailing "\n" from errx() --- sbin/ifconfig/ifconfig.c | 4 ++-- 1 file 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; -- cgit v1.2.3