shithub: riscv

Download patch

ref: 808acd51f4e78d8883b81a3df6eb1fe1b61bd903
parent: 23620bb1dbbf80f07a156d3f1fe1e74d5f4d61ba
author: Sigrid <ftrvxmtrx@gmail.com>
date: Wed Nov 18 15:14:26 EST 2020

tmdate(2): failed to (p)arse

--- a/sys/man/2/tmdate
+++ b/sys/man/2/tmdate
@@ -267,7 +267,7 @@
 Tm t;
 char *date = "Sun Nov 2 13:11:11 PST 2019";
 if(tmparse(&t, "W MMM D hh:mm:ss z YYYY, date, nil) == nil)
-	print("failed to arse");
+	print("failed to parse");
 t.day++;
 tmnorm(&t);
 print("%τ", &t); /*  Mon Nov 3 13:11:11 PST 2019 */