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
This commit is contained in:
Mitchell Horne 2023-05-05 18:58:23 -03:00
parent 7253dc57a0
commit bf66159342

View File

@ -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. */