src/hg/mouseStuff/netSplit/netSplit.c 1.6
1.6 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/mouseStuff/netSplit/netSplit.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/mouseStuff/netSplit/netSplit.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -b -B -U 4 -r1.5 -r1.6
--- src/hg/mouseStuff/netSplit/netSplit.c 26 Aug 2005 21:02:12 -0000 1.5
+++ src/hg/mouseStuff/netSplit/netSplit.c 23 Sep 2009 18:42:23 -0000 1.6
@@ -39,9 +39,9 @@
if (metaOpen)
fclose(meta);
metaOpen = FALSE;
safef(cmd,sizeof(cmd), "cat %s | sort -u > %s", tpath, fileName);
- system(cmd);
+ mustSystem(cmd);
f = mustOpen(fileName, "a");
printf("Writing %s\n", fileName);
chainNetWrite(net, f);
carefulClose(&f);