--- ray/src/util/rtcontrib.c 2008/04/18 18:06:29 1.49 +++ ray/src/util/rtcontrib.c 2009/02/07 05:40:47 1.52 @@ -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.52 2009/02/07 05:40:47 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; @@ -246,7 +246,7 @@ main(int argc, char *argv[]) while ((j = expandarg(&argc, &argv, i)) > 0) ; if (j < 0) { - fprintf(stderr, "%s: cannot expand '%s'", + fprintf(stderr, "%s: cannot expand '%s'\n", argv[0], argv[i]); exit(1); } @@ -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 */