profile command - correct logic error
- this caused profile to complain about frequency when
no command (start, stop) was given.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user