The branch main has been updated by peterj:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=c9d1fa7003d5def224e9cfa5d38314f187487eb9

commit c9d1fa7003d5def224e9cfa5d38314f187487eb9
Author:     Peter Jeremy <[email protected]>
AuthorDate: 2022-01-29 09:41:19 +0000
Commit:     Peter Jeremy <[email protected]>
CommitDate: 2022-01-29 09:41:19 +0000

    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
---
 usr.bin/systat/vmstat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c
index a02674ce64a6..87e006838468 100644
--- a/usr.bin/systat/vmstat.c
+++ b/usr.bin/systat/vmstat.c
@@ -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);
 }
 

Reply via email to