profile command - correct logic error
- this caused profile to complain about frequency when no command (start, stop) was given.
This commit is contained in:
parent
b653422883
commit
e743f940d4
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ int main(int argc, char *argv[])
|
|||
* are correct for RTC
|
||||
*/
|
||||
if (action == START && intr_type == PROF_RTC &&
|
||||
freq < MIN_FREQ || freq > MAX_FREQ) {
|
||||
(freq < MIN_FREQ || freq > MAX_FREQ)) {
|
||||
printf("Incorrect frequency.\n");
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue