(no commit message)
[atyndall/cits2231.git] / helper.c
index 9da3e1d..bd5f37b 100644 (file)
--- a/helper.c
+++ b/helper.c
@@ -310,7 +310,7 @@ int addSceneObject(int id) {
   sceneObjs[nObjects].rotation.vect = (vector*)calloc( 3, sizeof(vector[0]) );
 
   if ( sceneObjs[nObjects].scale == NULL || sceneObjs[nObjects].rotation.vect == NULL ) {
-    sprintf(stderr, "Could not allocate memory for Scene Object! Shutting down!\n");
+    fprintf(stderr, "Could not allocate memory for Scene Object! Shutting down!\n");
     exit(EXIT_FAILURE);
   }
 

UCC git Repository :: git.ucc.asn.au