From 68aa4d5254c8e68171b19887dc39d8ca5f52d854 Mon Sep 17 00:00:00 2001 From: Ori Bernstein Date: Wed, 26 Aug 2020 12:12:44 -0700 Subject: [PATCH] tmparse: fix typo --- sys/src/libc/port/date.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/src/libc/port/date.c b/sys/src/libc/port/date.c index 7ca93856b..189bcb438 100644 --- a/sys/src/libc/port/date.c +++ b/sys/src/libc/port/date.c @@ -634,8 +634,8 @@ tmparse(Tm *tm, char *fmt, char *str, Tzone *tz, char **ep) } /* Skip whitespace */ - for(;; p++) { - switch(*p) { + for(;; s++) { + switch(*s) { case ' ': case '\t': case '\n':