projects
/
blktrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
055cc3e
)
btt: Missed fopen conversion to my_fopen
author
Alan D. Brunelle
<alan.brunelle@hp.com>
Thu, 12 Feb 2009 19:28:51 +0000
(14:28 -0500)
committer
Alan 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
patch
|
blob
|
blame
|
history
diff --git
a/btt/unplug_hist.c
b/btt/unplug_hist.c
index ff31c7dabac10487c008eeb6579a5894ccc467e7..ed33c9cb57b723a0cb02fd6258dbe09c21ef2255 100644
(file)
--- 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++)