Fix btt to handle large numbers of output files
[blktrace.git] / btt / devs.c
index e5304773087b413c0e5307a16b94caa9c4f0f40c..ea560a2c9506dfb339509060500c333037e8ff02 100644 (file)
@@ -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);