Correct a sanity check.
This commit is contained in:
parent
9de81c7273
commit
00a22dc5f9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=168927
@ -708,7 +708,7 @@ main(int argc, char **argv)
|
||||
*/
|
||||
if ((args.pa_flags & FLAG_HAS_COUNTING_PMCS) &&
|
||||
(args.pa_flags & FLAG_HAS_SAMPLING_PMCS) &&
|
||||
((args.pa_required & FLAG_HAS_OUTPUT_LOGFILE) == 0))
|
||||
((args.pa_flags & FLAG_HAS_OUTPUT_LOGFILE) == 0))
|
||||
errx(EX_USAGE, "ERROR: option -O is required if counting and "
|
||||
"sampling PMCs are specified together.");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user