diff options
Diffstat (limited to 'usr/src/cmd/stat/fsstat/fsstat.c')
-rw-r--r-- | usr/src/cmd/stat/fsstat/fsstat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/cmd/stat/fsstat/fsstat.c b/usr/src/cmd/stat/fsstat/fsstat.c index 5eb35f5e5b..1869ff4fe6 100644 --- a/usr/src/cmd/stat/fsstat/fsstat.c +++ b/usr/src/cmd/stat/fsstat/fsstat.c @@ -117,7 +117,7 @@ static char units[] = "num KMGTPE"; char *cmdname; /* name of this command */ int caught_cont = 0; /* have caught a SIGCONT */ -extern uint_t timestamp_fmt; /* print timestamp with stats */ +static uint_t timestamp_fmt = NODATE; /* print timestamp with stats */ static int vs_i = 0; /* Index of current vs[] slot */ @@ -1001,7 +1001,7 @@ main(int argc, char *argv[]) /* Initial timestamp */ if (timestamp_fmt != NODATE) { - print_timestamp(); + print_timestamp(timestamp_fmt); linesout++; } @@ -1062,7 +1062,7 @@ main(int argc, char *argv[]) sleep_until(&start_n, period_n, forever, &caught_cont); if (timestamp_fmt != NODATE) { - print_timestamp(); + print_timestamp(timestamp_fmt); linesout++; } |