summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--blkparse.c2
-rw-r--r--blktrace.c2
-rw-r--r--btt/args.c3
3 files changed, 3 insertions, 4 deletions
diff --git a/blkparse.c b/blkparse.c
index 9bd8023..ffad9b6 100644
--- a/blkparse.c
+++ b/blkparse.c
@@ -2702,7 +2702,7 @@ static char usage_str[] = "\n\n" \
static void usage(char *prog)
{
- fprintf(stderr, "Usage: %s %s %s", prog, blkparse_version, usage_str);
+ fprintf(stderr, "Usage: %s %s", prog, usage_str);
}
int main(int argc, char *argv[])
diff --git a/blktrace.c b/blktrace.c
index a67e1b8..660ad7a 100644
--- a/blktrace.c
+++ b/blktrace.c
@@ -493,7 +493,7 @@ static inline void pdc_nev_update(struct devpath *dpp, int cpu, int nevents)
static void show_usage(char *prog)
{
- fprintf(stderr, "Usage: %s %s %s", prog, blktrace_version, usage_str);
+ fprintf(stderr, "Usage: %s %s", prog, usage_str);
}
/*
diff --git a/btt/args.c b/btt/args.c
index 137c2f5..5c5078a 100644
--- a/btt/args.c
+++ b/btt/args.c
@@ -244,8 +244,7 @@ static char usage_str[] = \
static void usage(char *prog)
{
- fprintf(stderr, "Usage: %s %s %s", prog, bt_timeline_version,
- usage_str);
+ fprintf(stderr, "Usage: %s %s", prog, usage_str);
}
static FILE *setup_ofile(char *fname)