projects
/
blktrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73877e1
)
[PATCH] blkparse: don't append .log to the -o given output file
author
Jens Axboe
<axboe@suse.de>
Fri, 23 Sep 2005 06:49:22 +0000
(08:49 +0200)
committer
Jens Axboe
<axboe@suse.de>
Fri, 23 Sep 2005 06:49:22 +0000
(08:49 +0200)
blkparse.c
patch
|
blob
|
blame
|
history
diff --git
a/blkparse.c
b/blkparse.c
index c500ea6523205a7154228fd282de48d21e86420a..3ebbcdb7f34788c5296ccd530786aaacfc31a73d 100644
(file)
--- a/
blkparse.c
+++ b/
blkparse.c
@@
-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;
}