Hi,

This diff widens the IF column in 'systat rules' by one character. Reason for
this is that otherwise vether interfaces get cut off and lose their index.
vether interfaces are common enough I think to warrant this widening. However
this might lead to confusion if there are interfaces with two digits. If
that's common I can go +2 in this change.

OK for +1 or +2?

Index: pftop.c
===================================================================
RCS file: /cvs/src/usr.bin/systat/pftop.c,v
retrieving revision 1.34
diff -u -p -r1.34 pftop.c
--- pftop.c     13 Apr 2016 05:25:45 -0000      1.34
+++ pftop.c     18 Dec 2016 13:39:51 -0000
@@ -140,7 +140,7 @@ field_def fields[] = {
        {"LOG", 1, 3, 2, FLD_ALIGN_LEFT, -1, 0, 0, 0},
        {"QUICK", 1, 1, 1, FLD_ALIGN_LEFT, -1, 0, 0, 0},
        {"KS", 1, 1, 1, FLD_ALIGN_LEFT, -1, 0, 0, 0},
-       {"IF", 4, 6, 1, FLD_ALIGN_LEFT, -1, 0, 0, 0},
+       {"IF", 4, 7, 1, FLD_ALIGN_LEFT, -1, 0, 0, 0},
        {"INFO", 40, 80, 1, FLD_ALIGN_LEFT, -1, 0, 0, 0},
        {"MAX", 3, 5, 2, FLD_ALIGN_RIGHT, -1, 0, 0},
        {"RATE", 5, 8, 1, FLD_ALIGN_RIGHT, -1, 0, 0, 0},

-- 
jasper

Reply via email to