From 98fe770cab1d7f38ec1797b7dbb595727f2fdfa2 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Sun, 4 Feb 1996 14:59:12 -0200 Subject: [PATCH] small bug --- luamem.c | 4 ++-- 1 file 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 @@ ** TecCGraf - PUC-Rio */ -char *rcs_mem = "$Id: mem.c,v 1.5 1995/02/06 19:34:03 roberto Exp roberto $"; +char *rcs_mem = "$Id: mem.c,v 1.6 1996/01/22 14:15:13 roberto Exp roberto $"; #include #include @@ -20,7 +20,7 @@ static void mem_error (void) lua_error("not enough memory"); else { /* if there is no garbage then must exit */ - printf(stderr, "lua error: memory overflow - unable to recover\n"); + fprintf(stderr, "lua error: memory overflow - unable to recover\n"); exit(1); } }