summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pmcstat
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>2005-09-05 18:31:09 +0000
committerjkoshy <jkoshy@FreeBSD.org>2005-09-05 18:31:09 +0000
commit37ed081c3560c54ce7ed9ba8a6836563c09609be (patch)
tree51f15724418177ae3821fc2d1ef2417591f1a8a6 /usr.sbin/pmcstat
parentdb33f7746853e588eaedd28eadb7801109dac2bc (diff)
downloadFreeBSD-src-37ed081c3560c54ce7ed9ba8a6836563c09609be.zip
FreeBSD-src-37ed081c3560c54ce7ed9ba8a6836563c09609be.tar.gz
Improve an error message.
MFC after: 3 days
Diffstat (limited to 'usr.sbin/pmcstat')
-rw-r--r--usr.sbin/pmcstat/pmcstat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pmcstat/pmcstat.c b/usr.sbin/pmcstat/pmcstat.c
index 755e127..a58fa1f 100644
--- a/usr.sbin/pmcstat/pmcstat.c
+++ b/usr.sbin/pmcstat/pmcstat.c
@@ -627,8 +627,8 @@ main(int argc, char **argv)
/* check for counting mode options without a counting PMC */
if ((args.pa_required & FLAG_HAS_COUNTING_PMCS) &&
(args.pa_flags & FLAG_HAS_COUNTING_PMCS) == 0)
- errx(EX_USAGE, "ERROR: options -C, -o and -W require at least "
- "one counting mode PMC to be specified.");
+ errx(EX_USAGE, "ERROR: options -C, -W, -o and -w require at "
+ "least one counting mode PMC to be specified.");
/* check for sampling mode options without a sampling PMC spec */
if ((args.pa_required & FLAG_HAS_SAMPLING_PMCS) &&
OpenPOWER on IntegriCloud