ephysics: print sandbox error msgs correctly

SVN revision: 77596
This commit is contained in:
Bruno Dilly 2012-10-08 22:47:11 +00:00
parent 0955e6258c
commit 1d5fbc9850
1 changed files with 2 additions and 2 deletions

View File

@ -852,7 +852,7 @@ elm_main()
if (!ephysics_init())
{
printf("\nFailed to init ephysics");//ERR
fprintf(stderr, "Failed to init ephysics\n");
r = -1;
goto shutdown;
}
@ -860,7 +860,7 @@ elm_main()
sandie = calloc(1, sizeof(Sandie_Data));
if (!sandie)
{
printf("Failed to alloc sandie data");//ERR
fprintf(stderr, "Failed to alloc sandie data\n");
r = -1;
return r;
}