aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_time_sup.c
diff options
context:
space:
mode:
authorAndrew Dryga <[email protected]>2017-02-14 11:30:41 +0200
committerAndrew Dryga <[email protected]>2017-02-14 11:31:29 +0200
commit7c06ca6231b812965305522284dd9f2653ced98d (patch)
tree938476941b4275cdeef2e7824d9596ccdd47bee4 /erts/emulator/beam/erl_time_sup.c
parentf3624a5a6357f2ebbdaad8785ea0f259bedd64bc (diff)
downloadotp-7c06ca6231b812965305522284dd9f2653ced98d.tar.gz
otp-7c06ca6231b812965305522284dd9f2653ced98d.tar.bz2
otp-7c06ca6231b812965305522284dd9f2653ced98d.zip
Fixed typos in erts
Diffstat (limited to 'erts/emulator/beam/erl_time_sup.c')
-rw-r--r--erts/emulator/beam/erl_time_sup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_time_sup.c b/erts/emulator/beam/erl_time_sup.c
index 1d747e5fab..ed40539b78 100644
--- a/erts/emulator/beam/erl_time_sup.c
+++ b/erts/emulator/beam/erl_time_sup.c
@@ -1502,7 +1502,7 @@ static time_t gregday(int year, int month, int day)
pyear = gyear - 1;
ndays = (pyear/4) - (pyear/100) + (pyear/400) + pyear*365 + 366;
}
- /* number of days in all months preceeding month */
+ /* number of days in all months preceding month */
for (m = 1; m < month; m++)
ndays += mdays[m];
/* Extra day if leap year and March or later */