From 88607acc2c41c2bace172b78012d2ce9abf05766 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 26 Jun 2002 13:37:23 -0300 Subject: details --- liolib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'liolib.c') diff --git a/liolib.c b/liolib.c index f0005e43..d3216a1f 100644 --- a/liolib.c +++ b/liolib.c @@ -1,5 +1,5 @@ /* -** $Id: liolib.c,v 2.10 2002/06/06 18:17:33 roberto Exp roberto $ +** $Id: liolib.c,v 2.11 2002/06/18 15:16:18 roberto Exp roberto $ ** Standard I/O (and system) library ** See Copyright Notice in lua.h */ @@ -519,7 +519,7 @@ static int io_date (lua_State *L) { if (strftime(b, sizeof(b), s, stm)) lua_pushstring(L, b); else - return luaL_error(L, "invalid `date' format"); + return luaL_error(L, "`date' format too long"); } return 1; } -- cgit v1.2.3-55-g6feb