src/hg/protein/spm6/spm6.c 1.7

1.7 2009/09/23 18:42:25 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/protein/spm6/spm6.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/protein/spm6/spm6.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -b -B -U 4 -r1.6 -r1.7
--- src/hg/protein/spm6/spm6.c	17 Mar 2009 19:54:57 -0000	1.6
+++ src/hg/protein/spm6/spm6.c	23 Sep 2009 18:42:25 -0000	1.7
@@ -280,11 +280,11 @@
 fclose(o3);
 fclose(o4);
 fclose(o5);
     
-system("cat j.dat|sort|uniq >knownGene0.tab");
-system("rm j.dat");
-system("cat jj.dat|sort -r |uniq >sorted.lis");
-system("rm jj.dat");
+mustSystem("cat j.dat|sort|uniq >knownGene0.tab");
+mustSystem("rm j.dat");
+mustSystem("cat jj.dat|sort -r |uniq >sorted.lis");
+mustSystem("rm jj.dat");
 return(0);
 }