aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Horne <mhorne@FreeBSD.org>2023-05-05 21:58:23 +0000
committerMitchell Horne <mhorne@FreeBSD.org>2023-05-06 17:49:19 +0000
commitbf66159342e86b1dba02f1c463b47dd96fb09969 (patch)
treed70342dd065120cbd4c7d1c7ec6a16f7cb653320
parent7253dc57a0b400ff745a43017928304ff8dcf33f (diff)
downloadsrc-bf66159342e86b1dba02f1c463b47dd96fb09969.tar.gz
src-bf66159342e86b1dba02f1c463b47dd96fb09969.zip
pmcstat: augment an error message
It also applies to the -t argument. Reviewed by: jkoshy MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D39907
-rw-r--r--usr.sbin/pmcstat/pmcstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pmcstat/pmcstat.c b/usr.sbin/pmcstat/pmcstat.c
index 81fa4c75d58e..ed3ee70e20ce 100644
--- a/usr.sbin/pmcstat/pmcstat.c
+++ b/usr.sbin/pmcstat/pmcstat.c
@@ -983,7 +983,7 @@ main(int argc, char **argv)
if ((args.pa_required & FLAG_HAS_PROCESS_PMCS) &&
(args.pa_flags & FLAG_HAS_PROCESS_PMCS) == 0)
errx(EX_USAGE,
-"ERROR: options -d, -E, and -W require a process mode PMC to be specified."
+"ERROR: options -d, -E, -t, and -W require a process mode PMC to be specified."
);
/* check for -c cpu with no system mode PMCs or logfile. */