mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-26 10:53:39 +01: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
@ -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 New Issue
Block a user