summaryrefslogtreecommitdiff
path: root/sys/man/2
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2020-08-10 20:33:39 -0700
committerOri Bernstein <ori@eigenstate.org>2020-08-10 20:33:39 -0700
commit69c3c0e6f0b5ce8ea4efc65a3898c56f4d6bc513 (patch)
treee2e1a174bcfd58ec3d4ffc5092c71798044d7a97 /sys/man/2
parent46faca54edf1eda39a45f540697196074a00c779 (diff)
tmdate(2): fix typo (thanks mveety)
sysfata => sysfatal
Diffstat (limited to 'sys/man/2')
-rw-r--r--sys/man/2/tmdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/man/2/tmdate b/sys/man/2/tmdate
index 0b314a100..96e410c14 100644
--- a/sys/man/2/tmdate
+++ b/sys/man/2/tmdate
@@ -225,7 +225,7 @@ if(tmparse(&a, nil, "Tue Dec 10 12:36:00 PST 2019", &e) == nil)
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)