aboutsummaryrefslogtreecommitdiff
path: root/loslib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-01-12 17:32:32 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-01-12 17:32:32 -0200
commitf31cc8e3425635cf028fb8a84d080f1ec4fc32cc (patch)
tree75dd29a8b24da193d738bb25cbeaa93d37cea680 /loslib.c
parent3c55790ebee7148281cd00f44aa293e456b4da6d (diff)
downloadlua-f31cc8e3425635cf028fb8a84d080f1ec4fc32cc.tar.gz
lua-f31cc8e3425635cf028fb8a84d080f1ec4fc32cc.tar.bz2
lua-f31cc8e3425635cf028fb8a84d080f1ec4fc32cc.zip
typo in error message
Diffstat (limited to 'loslib.c')
-rw-r--r--loslib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loslib.c b/loslib.c
index 1d39b2b2..65aaeaeb 100644
--- a/loslib.c
+++ b/loslib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: loslib.c,v 1.53 2014/12/10 15:42:42 roberto Exp roberto $ 2** $Id: loslib.c,v 1.54 2014/12/26 14:46:07 roberto Exp roberto $
3** Standard Operating System library 3** Standard Operating System library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -287,7 +287,7 @@ static int os_time (lua_State *L) {
287 t = mktime(&ts); 287 t = mktime(&ts);
288 } 288 }
289 if (t != (time_t)(l_timet)t) 289 if (t != (time_t)(l_timet)t)
290 luaL_error(L, "time result cannot be represented in this Lua instalation"); 290 luaL_error(L, "time result cannot be represented in this Lua installation");
291 else if (t == (time_t)(-1)) 291 else if (t == (time_t)(-1))
292 lua_pushnil(L); 292 lua_pushnil(L);
293 else 293 else