src/hg/protein/kgAliasM/kgAliasM.c 1.9

1.9 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/protein/kgAliasM/kgAliasM.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/protein/kgAliasM/kgAliasM.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -b -B -U 4 -r1.8 -r1.9
--- src/hg/protein/kgAliasM/kgAliasM.c	3 Sep 2008 19:20:56 -0000	1.8
+++ src/hg/protein/kgAliasM/kgAliasM.c	23 Sep 2009 18:42:23 -0000	1.9
@@ -135,14 +135,14 @@
 
 /* geneAlias.tab has 3 columns, the 2nd is HUGO.symbol 
    and 3rd contains aliases and withdraws */
 
-system("cat  j.dat|sort|uniq  >geneAlias.tab");
+mustSystem("cat  j.dat|sort|uniq  >geneAlias.tab");
 
 /*  kgAliasM.tab has 2 columns, all entries from HUGO.symbol, HUGO.aliass, 
     and HUGO.withdraws are listed in the 2nd column. */
-system("cat jj.dat|sort|uniq  >kgAliasM.tab");
-system("rm j.dat");
-system("rm jj.dat");
+mustSystem("cat jj.dat|sort|uniq  >kgAliasM.tab");
+mustSystem("rm j.dat");
+mustSystem("rm jj.dat");
     
 return(0);
 }