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
@ -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…
x
Reference in New Issue
Block a user