Hi,

Last time a new field was added, headers were not adjusted to account
for the extra column in the output.

Index: fstat.c
===================================================================
RCS file: /cvs/src/usr.bin/fstat/fstat.c,v
retrieving revision 1.90
diff -u -p -r1.90 fstat.c
--- fstat.c     21 Jan 2017 12:21:57 -0000      1.90
+++ fstat.c     7 Dec 2017 03:12:55 -0000
@@ -318,10 +318,10 @@ fstat_header(void)
 {
        if (nflg)
                printf("%s",
-"USER     CMD          PID   FD  DEV      INUM       MODE   R/W    SZ|DV");
+"USER     CMD          PID   FD  DEV      INUM        MODE   R/W    SZ|DV");
        else
                printf("%s",
-"USER     CMD          PID   FD MOUNT        INUM MODE         R/W    SZ|DV");
+"USER     CMD          PID   FD MOUNT        INUM  MODE         R/W    SZ|DV");
        if (oflg)
                printf("%s", ":OFFSET  ");
        if (checkfile && fsflg == 0)

Regards,

kshe

Reply via email to