Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103019900
D32437.id96682.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
680 B
Referenced Files
None
Subscribers
None
D32437.id96682.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D32437: last: improve non-UTF8 locale output after libxo support was added
Attached
Detach File
Event Timeline
Log In to Comment