tmdate(2): fix typo (thanks mveety)
sysfata => sysfatal
This commit is contained in:
parent
46faca54ed
commit
69c3c0e6f0
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue