git: 9front

Download patch

ref: cb23a9d2599732b91769f2eb43cfd47b44b7b91a
parent: 20d397b072ab41ba56b9408ecb44d7749ff86f07
author: Ori Bernstein <ori@eigenstate.org>
date: Mon Aug 10 16:33:39 EDT 2020

tmdate(2): fix typo (thanks mveety)

sysfata => sysfatal

--- a/sys/man/2/tmdate
+++ b/sys/man/2/tmdate
@@ -225,7 +225,7 @@
 if(*e != '\0')
 	sysfatal("trailing junk %s", e);
 if(tmparse(&b, nil, "Tue Dec 10 15:36:00 EST 2019", &e) == nil)
-	sysfata("failed to parse: %r");
+	sysfatal("failed to parse: %r");
 if(*e != '\0')
 	sysfatal("trailing junk %s", e);
 if(tmnorm(a) == tmnorm(b) && a.nsec == b.nsec)
--