[PATCH] blkparse: don't append .log to the -o given output file
authorJens Axboe <axboe@suse.de>
Fri, 23 Sep 2005 06:49:22 +0000 (08:49 +0200)
committerJens Axboe <axboe@suse.de>
Fri, 23 Sep 2005 06:49:22 +0000 (08:49 +0200)
blkparse.c

index c500ea6523205a7154228fd282de48d21e86420a..3ebbcdb7f34788c5296ccd530786aaacfc31a73d 100644 (file)
@@ -1831,7 +1831,7 @@ int main(int argc, char *argv[])
        } else {
                char ofname[128];
 
-               snprintf(ofname, sizeof(ofname) - 1, "%s.log", output_name);
+               snprintf(ofname, sizeof(ofname) - 1, "%s", output_name);
                ofp = fopen(ofname, "w");
                mode = _IOFBF;
        }