aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
Diffstat (limited to 'toys')
-rw-r--r--toys/pending/netstat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/toys/pending/netstat.c b/toys/pending/netstat.c
index f8d622e2..c77f49f5 100644
--- a/toys/pending/netstat.c
+++ b/toys/pending/netstat.c
@@ -147,9 +147,9 @@ static void display_data(unsigned rport, char *label,
xprintf("%3s %6d %6d ", label, rxq, txq);
xprintf((toys.optflags & FLAG_W) ? "%-51.51s %-51.51s " : "%-23.23s %-23.23s "
, lip, rip);
- xprintf("%-11s ", ss_state);
- if ((toys.optflags & FLAG_e)) xprintf("%-10s %-11ld ", user, inode);
- if ((toys.optflags & FLAG_p)) xprintf("%s", get_pid_name(inode));
+ xprintf("%-11s", ss_state);
+ if ((toys.optflags & FLAG_e)) xprintf(" %-10s %-11ld", user, inode);
+ if ((toys.optflags & FLAG_p)) xprintf(" %s", get_pid_name(inode));
xputc('\n');
}