src/lib/errCatch.c 1.3
1.3 2009/08/12 18:13:19 markd
fix using variable string where a format should be, detected by gcc 4.3.3
Index: src/lib/errCatch.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/lib/errCatch.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -b -B -U 4 -r1.2 -r1.3
--- src/lib/errCatch.c 10 Aug 2006 01:02:47 -0000 1.2
+++ src/lib/errCatch.c 12 Aug 2009 18:13:19 -0000 1.3
@@ -89,9 +89,9 @@
errCatchEnd(errCatch);
if (errCatch->gotError)
{
ok = FALSE;
- warn(errCatch->message->string);
+ warn("%s", errCatch->message->string);
}
errCatchFree(pErrCatch);
}
return ok;