projects
/
blktrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c135da9
)
[PATCH] blktrace: handle case where output directory is not set
author
Alan D. Brunelle
<Alan.Brunelle@hp.com>
Thu, 2 Mar 2006 11:46:41 +0000
(12:46 +0100)
committer
Jens Axboe
<axboe@suse.de>
Thu, 2 Mar 2006 11:46:41 +0000
(12:46 +0100)
blktrace.c
patch
|
blob
|
blame
|
history
diff --git
a/blktrace.c
b/blktrace.c
index 47b4d3f4aa66f00ae9717926d438a0fe2bbb8154..ca1caac4e8ed0d5d581e73012e050cf2790773db 100644
(file)
--- a/
blktrace.c
+++ b/
blktrace.c
@@
-981,6
+981,8
@@
static int fill_ofname(struct device_information *dip,
if (output_dir)
len = sprintf(dst, "%s/", output_dir);
+ else
+ len = sprintf(dst, "./");
if (net_mode == Net_server) {
struct net_connection *nc = dip->nc;