diff options
author | jkoshy <jkoshy@FreeBSD.org> | 2007-04-21 12:04:03 +0000 |
---|---|---|
committer | jkoshy <jkoshy@FreeBSD.org> | 2007-04-21 12:04:03 +0000 |
commit | 4c79721dd46a0fb6dfc1ef9c221f4618d32f13c3 (patch) | |
tree | 245d54c8d343864e35d04de48a415351efc8c496 | |
parent | 24d44898020531c24ba8914b294876e52f304e4f (diff) | |
download | FreeBSD-src-4c79721dd46a0fb6dfc1ef9c221f4618d32f13c3.zip FreeBSD-src-4c79721dd46a0fb6dfc1ef9c221f4618d32f13c3.tar.gz |
Correct a sanity check.
-rw-r--r-- | usr.sbin/pmcstat/pmcstat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pmcstat/pmcstat.c b/usr.sbin/pmcstat/pmcstat.c index 95c40cf..f2c0596 100644 --- a/usr.sbin/pmcstat/pmcstat.c +++ b/usr.sbin/pmcstat/pmcstat.c @@ -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."); |