diff options
author | marcel <marcel@FreeBSD.org> | 2015-02-25 17:06:27 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2015-02-25 17:06:27 +0000 |
commit | 03eeeb2651118370f5b3b824c5d9bd36b37ef233 (patch) | |
tree | 77550365040061752a62d2cfa23db3da6075a7c5 /usr.bin | |
parent | df1d9177e573d022614f1c5fb3c97c99c249c390 (diff) | |
download | FreeBSD-src-03eeeb2651118370f5b3b824c5d9bd36b37ef233.zip FreeBSD-src-03eeeb2651118370f5b3b824c5d9bd36b37ef233.tar.gz |
Fix "netstat -hdw 1" output.
Reported by: np@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/netstat/if.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/usr.bin/netstat/if.c b/usr.bin/netstat/if.c index 002567b..6a9fc11 100644 --- a/usr.bin/netstat/if.c +++ b/usr.bin/netstat/if.c @@ -244,10 +244,6 @@ show_stat(const char *fmt, int width, const char *name, /* Format in human readable form. */ humanize_number(buf, sizeof(buf), (int64_t)value, "", HN_AUTOSCALE, HN_NOSPACE | HN_DECIMAL); - snprintf(newfmt, sizeof(newfmt), "%s%%%ds%s", - lsep, width, rsep); - xo_emit(newfmt, buf); - xo_attr("value", "%lu", value); maybe_pad(lsep); snprintf(newfmt, sizeof(newfmt), "{:%s/%%%ds}", name, width); xo_emit(newfmt, buf); |