Page MenuHomeFreeBSD

D32437.id96682.diff
No OneTemporary

D32437.id96682.diff

diff --git a/usr.bin/last/last.c b/usr.bin/last/last.c
--- a/usr.bin/last/last.c
+++ b/usr.bin/last/last.c
@@ -262,7 +262,7 @@
(void) strftime(ct, sizeof(ct), "%+", tm);
xo_emit("\n{:utxdb/%s}", (file == NULL) ? "utx.log" : file);
xo_attr("seconds", "%lu", (unsigned long) t);
- xo_emit(" begins {:begins/%s}\n", ct);
+ xo_emit(" begins {:begins/%hs}\n", ct);
xo_close_container("last-information");
}
@@ -379,7 +379,7 @@
break;
}
xo_attr("seconds", "%lu", (unsigned long)t);
- xo_emit(" {:login-time/%s%c/%s}", ct, tt == NULL ? '\n' : ' ');
+ xo_emit(" {:login-time/%hs%c/%s}", ct, tt == NULL ? '\n' : ' ');
if (tt == NULL)
goto end;
if (!tt->logout) {

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 20, 10:02 PM (20 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14748159
Default Alt Text
D32437.id96682.diff (680 B)

Event Timeline