shithub: riscv

Download patch

ref: e2e973a34bde34489b49700b364e683b40e3f6c4
parent: 0f3ef52fd7792c660587bc477668fea55aa8d947
author: Ori Bernstein <[email protected]>
date: Sat Jan 16 09:24:32 EST 2021

tmdate(2): correct example in manpage

add missing tmdate() call around %τ format.

--- a/sys/man/2/tmdate
+++ b/sys/man/2/tmdate
@@ -265,7 +265,7 @@
 	print("failed to parse");
 t.day++;
 tmnorm(&t);
-print("%τ", &t); /*  Mon Nov 3 13:11:11 PST 2019 */
+print("%τ", tmfmt(&t, nil)); /*  Mon Nov 3 13:11:11 PST 2019 */
 .EE
 
 .SH BUGS