src/isPcr/webPcr/webPcr.c 1.6

1.6 2009/09/23 18:42:27 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/isPcr/webPcr/webPcr.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/isPcr/webPcr/webPcr.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -b -B -U 4 -r1.5 -r1.6
--- src/isPcr/webPcr/webPcr.c	7 Jun 2004 23:04:55 -0000	1.5
+++ src/isPcr/webPcr/webPcr.c	23 Sep 2009 18:42:27 -0000	1.6
@@ -82,9 +82,9 @@
     }
 errCatchEnd(errCatch);
 if (errCatch->gotError)
      {
-     warn(errCatch->message->string);
+     warn("%s", errCatch->message->string);
      }
 errCatchFree(&errCatch); 
 return ok;
 }