summaryrefslogtreecommitdiff
path: root/btt/unplug_hist.c
diff options
context:
space:
mode:
Diffstat (limited to 'btt/unplug_hist.c')
-rw-r--r--btt/unplug_hist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/btt/unplug_hist.c b/btt/unplug_hist.c
index ff31c7d..ed33c9c 100644
--- a/btt/unplug_hist.c
+++ b/btt/unplug_hist.c
@@ -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++)