src/hg/qa/apacheMonitor.c 1.17
1.17 2009/09/23 18:42:26 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/qa/apacheMonitor.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/qa/apacheMonitor.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -b -B -U 4 -r1.16 -r1.17
--- src/hg/qa/apacheMonitor.c 20 Mar 2009 17:14:34 -0000 1.16
+++ src/hg/qa/apacheMonitor.c 23 Sep 2009 18:42:26 -0000 1.17
@@ -345,9 +345,9 @@
void cleanup(int timeNow)
{
char command[255];
safef(command, ArraySize(command), "rm /scratch/apacheMonitor/%d.tab", timeNow);
-system(command);
+mustSystem(command);
}
int main(int argc, char *argv[])
/* Check args and call readLogs. */