From ca6608f3914b3f120d57ccb0f357f503bceed17a Mon Sep 17 00:00:00 2001 From: jkoshy Date: Tue, 13 Sep 2005 15:23:26 +0000 Subject: [PATCH] MFC r1.9: Improve an error message. Approved by: re (kensmith) --- usr.sbin/pmcstat/pmcstat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/pmcstat/pmcstat.c b/usr.sbin/pmcstat/pmcstat.c index 755e1279f985..a58fa1fa3d20 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) &&