src/hg/phyloGif/phyloGif.c 1.23

1.23 2009/09/23 18:42:23 angie
Fixed compiler warnings from gcc 4.3.3, mostly about system calls whose return values weren't checked and non-literal format strings with no args.
Index: src/hg/phyloGif/phyloGif.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/phyloGif/phyloGif.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -b -B -U 4 -r1.22 -r1.23
--- src/hg/phyloGif/phyloGif.c	19 Aug 2009 23:26:39 -0000	1.22
+++ src/hg/phyloGif/phyloGif.c	23 Sep 2009 18:42:23 -0000	1.23
@@ -626,9 +626,9 @@
     	puts("</pre></body></html>");
 	}
     else
 	{
-    	warn(errMsg);
+    	warn("%s", errMsg);
 	}
     freez(&errMsg);    
     freez(&phyloData);
     return 0;
@@ -663,9 +663,9 @@
 	    puts("</pre></body></html>");
 	    }
 	else
 	    {
-	    warn(layoutErrMsg);
+	    warn("%s", layoutErrMsg);
 	    }
 	freez(&phyloData);
 	mgFree(&mg);
 	return 0;