[Vm-dev] [commit][2821] call to printf()
in b3dAbort uses a string constant as format
commits at squeakvm.org
commits at squeakvm.org
Fri Dec 6 23:53:32 UTC 2013
Revision: 2821
Author: piumarta
Date: 2013-12-06 15:53:30 -0800 (Fri, 06 Dec 2013)
Log Message:
-----------
call to printf() in b3dAbort uses a string constant as format
Modified Paths:
--------------
trunk/platforms/Cross/plugins/Squeak3D/b3dMain.c
Modified: trunk/platforms/Cross/plugins/Squeak3D/b3dMain.c
===================================================================
--- trunk/platforms/Cross/plugins/Squeak3D/b3dMain.c 2013-12-06 22:44:48 UTC (rev 2820)
+++ trunk/platforms/Cross/plugins/Squeak3D/b3dMain.c 2013-12-06 23:53:30 UTC (rev 2821)
@@ -6,7 +6,7 @@
* AUTHOR: Andreas Raab (ar)
* ADDRESS: Walt Disney Imagineering, Glendale, CA
* EMAIL: andreasr at wdi.disney.com
-* RCSID: $Id: b3dMain.c,v 1.1 2001/10/24 23:12:23 rowledge Exp $
+* RCSID: $Id$
*
* NOTES:
*
@@ -63,7 +63,7 @@
/*************************************************************/
void b3dAbort(char *msg){
- printf(msg);
+ printf("%s\n", msg);
exit(-1);
}
More information about the Vm-dev
mailing list