src/hg/mouseStuff/chainSplit/chainSplit.c 1.10

1.10 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/chainSplit/chainSplit.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/mouseStuff/chainSplit/chainSplit.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -b -B -U 4 -r1.9 -r1.10
--- src/hg/mouseStuff/chainSplit/chainSplit.c	11 Jul 2007 21:47:50 -0000	1.9
+++ src/hg/mouseStuff/chainSplit/chainSplit.c	23 Sep 2009 18:42:23 -0000	1.10
@@ -85,9 +85,9 @@
             if (metaOpen)
                 fclose(meta);
             metaOpen = FALSE;
 	    safef(cmd,sizeof(cmd), "cat %s | sort -u > %s", tpath, path);
-            system(cmd);
+            mustSystem(cmd);
 	    f = mustOpen(path, "a");
 	    hashAdd(hash, name, f);
 	    }
 	chainWrite(chain, f);