projects
/
blktrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix btt to handle large numbers of output files
[blktrace.git]
/
btt
/
devs.c
diff --git
a/btt/devs.c
b/btt/devs.c
index e5304773087b413c0e5307a16b94caa9c4f0f40c..ea560a2c9506dfb339509060500c333037e8ff02 100644
(file)
--- a/
btt/devs.c
+++ b/
btt/devs.c
@@
-110,7
+110,7
@@
static inline char *mkhandle(char *str, __u32 device, char *post)
static inline FILE *open_pit(char *str)
{
- FILE *fp = fopen(str, "w");
+ FILE *fp =
my_
fopen(str, "w");
if (fp == NULL)
perror(str);