mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
systat: Display seconds in vmstat mode
Providing a timestamp with seconds granularity helps make it obvious that the display is updating. Reviewed by: mckusick MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D29181
This commit is contained in:
parent
9146546eae
commit
c9d1fa7003
1 changed files with 1 additions and 1 deletions
|
|
@ -290,7 +290,7 @@ fetchkre(void)
|
|||
time(&now);
|
||||
tp = localtime(&now);
|
||||
(void) strftime(buf, sizeof(buf),
|
||||
d_first ? "%e %b %R" : "%b %e %R", tp);
|
||||
d_first ? "%e %b %T" : "%b %e %T", tp);
|
||||
getinfo(&s);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue