--- ray/src/util/rtcontrib.c 2008/04/18 18:06:29 1.49 +++ ray/src/util/rtcontrib.c 2008/12/06 01:08:53 1.51 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: rtcontrib.c,v 1.49 2008/04/18 18:06:29 greg Exp $"; +static const char RCSid[] = "$Id: rtcontrib.c,v 1.51 2008/12/06 01:08:53 greg Exp $"; #endif /* * Gather rtrace output to compute contributions from particular sources @@ -99,7 +99,7 @@ struct rtproc { /* rtrace command and defaults */ char *rtargv[256+2*MAXMODLIST] = { "rtrace", - "-dj", ".5", "-dr", "3", + "-dj", ".9", "-dr", "3", "-ab", "1", "-ad", "350", }; int rtargc = 9; @@ -1218,9 +1218,10 @@ myclose(const LUENT *e, void *p) STREAMOUT *sop = (STREAMOUT *)e->data; if (sop->ofp == NULL) - return; + return(0); fclose(sop->ofp); sop->ofp = NULL; + return(0); } /* load previously accumulated values */