btt: Missed fopen conversion to my_fopen
authorAlan D. Brunelle <alan.brunelle@hp.com>
Thu, 12 Feb 2009 19:28:51 +0000 (14:28 -0500)
committerAlan D. Brunelle <alan.brunelle@hp.com>
Thu, 12 Feb 2009 19:28:51 +0000 (14:28 -0500)
Signed-off-by: Alan D. Brunelle <alan.brunelle@hp.com
btt/unplug_hist.c

index ff31c7dabac10487c008eeb6579a5894ccc467e7..ed33c9cb57b723a0cb02fd6258dbe09c21ef2255 100644 (file)
@@ -71,7 +71,7 @@ void unplug_hist_exit(void *arg)
                char *oname = malloc(strlen(unplug_hist_name) + 32);
 
                sprintf(oname, "%s_%03d,%03d.dat", unplug_hist_name, mjr, mnr);
-               if ((fp = fopen(oname, "w")) != NULL) {
+               if ((fp = my_fopen(oname, "w")) != NULL) {
                        int i;
 
                        for (i = 0; i < NBKTS; i++)