summaryrefslogtreecommitdiff
path: root/blkparse_fmt.c
diff options
context:
space:
mode:
authorLuis Useche <luis@cis.fiu.edu>2008-05-05 20:53:07 +0200
committerJens Axboe <jens.axboe@oracle.com>2008-05-05 20:53:07 +0200
commita26daeb87cd49c2d6640965337cf625ae800c35a (patch)
treefc3082499b9ab1dbfa014f7ac97363ad6f3ea26a /blkparse_fmt.c
parent801646d63fe28ae2c50ab5bd0e9ea4f75ff64d97 (diff)
downloadblktrace-a26daeb87cd49c2d6640965337cf625ae800c35a.tar.gz
blktrace-a26daeb87cd49c2d6640965337cf625ae800c35a.tar.bz2
eliminate check of empty -F format
This patch eliminates the checking of -F format when it is empty. I am using this in order to blank out the events that I do not want for certain act mask. Note that there is no real motivation to have this checking. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'blkparse_fmt.c')
-rw-r--r--blkparse_fmt.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/blkparse_fmt.c b/blkparse_fmt.c
index 0ca5c60..2f21f6b 100644
--- a/blkparse_fmt.c
+++ b/blkparse_fmt.c
@@ -44,10 +44,6 @@ int add_format_spec(char *option)
return 1;
}
option += 2;
- if (*option == '\0') {
- fprintf(stderr,"Bad format specifier - need fmt %s\n", option);
- return 1;
- }
override_format[spec] = strdup(option);