aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan D. Brunelle <alan.brunelle@hp.com>2009-02-12 14:28:51 -0500
committerAlan D. Brunelle <alan.brunelle@hp.com>2009-02-12 14:28:51 -0500
commit8f34184f8c7905bb929862d224a7c4969bc9190e (patch)
tree61a8a70ea314a7c3604520461289367263a4fc46
parent055cc3e52d0d0d0663c6e85ea4ea26dbf40cfcda (diff)
downloadblktrace-8f34184f8c7905bb929862d224a7c4969bc9190e.tar.gz
btt: Missed fopen conversion to my_fopen
Signed-off-by: Alan D. Brunelle <alan.brunelle@hp.com
-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++)