summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstsp <stsp@openbsd.org>2020-02-24 10:39:00 +0000
committerstsp <stsp@openbsd.org>2020-02-24 10:39:00 +0000
commit4f073993942acb4bd40497bded0ba930adbcd025 (patch)
tree7736b69b73d526057a7eeaff0703d6ec8c64a6f5
parentDon't needlessly cap SSID width in 'ifconfig joinlist' (matters with hex SSIDs). (diff)
downloadwireguard-openbsd-4f073993942acb4bd40497bded0ba930adbcd025.tar.xz
wireguard-openbsd-4f073993942acb4bd40497bded0ba930adbcd025.zip
fix column alignment of 'ifconfig joinlist'; padding had an extra " "
-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 a62e8e1169d..dc6ac509280 100644
--- a/sbin/ifconfig/ifconfig.c
+++ b/sbin/ifconfig/ifconfig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ifconfig.c,v 1.419 2020/02/24 10:06:05 stsp Exp $ */
+/* $OpenBSD: ifconfig.c,v 1.420 2020/02/24 10:39:00 stsp Exp $ */
/* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */
/*
@@ -2581,7 +2581,7 @@ join_status(void)
if (jn[i].i_len > IEEE80211_NWID_LEN)
jn[i].i_len = IEEE80211_NWID_LEN;
len = print_string(jn[i].i_nwid, jn[i].i_len);
- printf("%-*s", maxlen - len, " ");
+ printf("%-*s", maxlen - len, "");
if (jn[i].i_flags) {
const char *sep;
printf(" ");