src/inc/errCatch.h 1.3

1.3 2010/04/29 03:15:15 markd
fixed incorrect documentation
Index: src/inc/errCatch.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/errCatch.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -b -B -U 4 -r1.2 -r1.3
--- src/inc/errCatch.h	10 Aug 2006 01:02:47 -0000	1.2
+++ src/inc/errCatch.h	29 Apr 2010 03:15:15 -0000	1.3
@@ -8,9 +8,9 @@
  * if (errCatchStart(errCatch))
  *     doFlakyStuff();
  * errCatchEnd(errCatch);
  * if (errCatch->gotError)
- *     warn(errCatch->message->string);
+ *     warn("Flaky stuff failed: %s", errCatch->message->string);
  * errCatchFree(&errCatch); 
  * cleanupFlakyStuff();
  */
 #ifndef ERRCATCH_H