From: Yu Watanabe Date: Fri, 3 Mar 2023 06:24:23 +0000 (+0900) Subject: time-util: fix typo X-Git-Tag: v254-rc1~1127^2~3 X-Git-Url: http://git-history.diyao.me/?a=commitdiff_plain;h=ca9c9d8d8e999fd80fc43d002c8d5b20c4c1a0a4;p=systemd%2F.git time-util: fix typo Follow-up for 7a9afae6040af0417d893328cb44b622dcdcb94f. --- diff --git a/src/basic/time-util.c b/src/basic/time-util.c index 2d2a507b20..3fa003eab2 100644 --- a/src/basic/time-util.c +++ b/src/basic/time-util.c @@ -841,7 +841,7 @@ from_tm: if (gmtoff < 0) { plus = -gmtoff * USEC_PER_SEC; - /* If gmtoff is negative, the string maye be too old to be parsed as UTC. + /* If gmtoff is negative, the string may be too old to be parsed as UTC. * E.g. 1969-12-31 23:00:00 -06 == 1970-01-01 05:00:00 UTC * We assumed that gmtoff is in the range of -24:00…+24:00, hence the only date we need to * handle here is 1969-12-31. So, let's shift the date with one day, then subtract the shift