diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2020-02-24 10:39:01 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2020-02-24 10:39:01 +0000 |
commit | 82bb7f8cf6f8a16b0ba4f8662a485598a821ffd1 (patch) | |
tree | e95dc0bd1ea257fcd857c0624e26af7bd5b99331 | |
parent | e3f71ee82e7f4e32391adfd10087cb95c840b44a (diff) |
fix column alignment of 'ifconfig joinlist'; padding had an extra " "
-rw-r--r-- | sbin/ifconfig/ifconfig.c | 4 |
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(" "); |