summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 4a9a23e48..ca2161795 100644
--- a/sys/man/2/tmdate
+++ b/sys/man/2/tmdate
@@ -263,7 +263,7 @@ Add a day. Because cross daylight savings, only 23 hours are added.
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 top arse");
+ print("failed to arse");
t.day++;
tmnorm(&t);
print("%τ", &t); /* Mon Nov 3 13:11:11 PST 2019 */