Date: Wed, 4 Nov 2015 13:59:13 +0000 (UTC) From: Hajimu UMEMOTO <ume@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r290365 - head/usr.bin/netstat Message-ID: <201511041359.tA4DxDaj027848@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ume Date: Wed Nov 4 13:59:13 2015 New Revision: 290365 URL: https://svnweb.freebsd.org/changeset/base/290365 Log: Restore an interface name field to left align. Modified: head/usr.bin/netstat/if.c Modified: head/usr.bin/netstat/if.c ============================================================================== --- head/usr.bin/netstat/if.c Wed Nov 4 12:47:27 2015 (r290364) +++ head/usr.bin/netstat/if.c Wed Nov 4 13:59:13 2015 (r290365) @@ -337,10 +337,10 @@ intpr(void (*pfunc)(char *), int af) xname = name; if (Wflag) - xo_emit("{etk:name/%s}{e:flags/0x%x}{d:/%7.7s}", + xo_emit("{etk:name/%s}{e:flags/0x%x}{d:/%-7.7s}", name, ifa->ifa_flags, xname); else - xo_emit("{etk:name/%s}{e:flags/0x%x}{d:/%5.5s}", + xo_emit("{etk:name/%s}{e:flags/0x%x}{d:/%-5.5s}", name, ifa->ifa_flags, xname); #define IFA_MTU(ifa) (((struct if_data *)(ifa)->ifa_data)->ifi_mtu)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511041359.tA4DxDaj027848>