aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}