aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1996-02-04 14:59:12 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1996-02-04 14:59:12 -0200
commit98fe770cab1d7f38ec1797b7dbb595727f2fdfa2 (patch)
tree6c2bc47b7fdce4bcd48dcda0a14d28142808faaf
parent43382ce5a22838af182807b451a12c474e21da78 (diff)
downloadlua-98fe770cab1d7f38ec1797b7dbb595727f2fdfa2.tar.gz
lua-98fe770cab1d7f38ec1797b7dbb595727f2fdfa2.tar.bz2
lua-98fe770cab1d7f38ec1797b7dbb595727f2fdfa2.zip
small bug
-rw-r--r--luamem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/luamem.c b/luamem.c
index ce2ffff9..d040f31d 100644
--- a/luamem.c
+++ b/luamem.c
@@ -3,7 +3,7 @@
3** TecCGraf - PUC-Rio 3** TecCGraf - PUC-Rio
4*/ 4*/
5 5
6char *rcs_mem = "$Id: mem.c,v 1.5 1995/02/06 19:34:03 roberto Exp roberto $"; 6char *rcs_mem = "$Id: mem.c,v 1.6 1996/01/22 14:15:13 roberto Exp roberto $";
7 7
8#include <stdlib.h> 8#include <stdlib.h>
9#include <string.h> 9#include <string.h>
@@ -20,7 +20,7 @@ static void mem_error (void)
20 lua_error("not enough memory"); 20 lua_error("not enough memory");
21 else 21 else
22 { /* if there is no garbage then must exit */ 22 { /* if there is no garbage then must exit */
23 printf(stderr, "lua error: memory overflow - unable to recover\n"); 23 fprintf(stderr, "lua error: memory overflow - unable to recover\n");
24 exit(1); 24 exit(1);
25 } 25 }
26} 26}