Skip to content

Commit dc0ab8a

Browse files
marc-hblgirdwood
authored andcommitted
logger: fix precision bug introduced by new -e option
Add missing "break" so the -e option stops spilling on the -f precision option. Fixes commit 53ce8b9 ("logger: new relative timestamps option, relative to first entry seen"). Since that commit the -e option was wrongly assigned to the precision too. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
1 parent 6c2cdff commit dc0ab8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/logger/logger.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ int main(int argc, char *argv[])
248248
return -EINVAL;
249249
}
250250
config.relative_timestamps = i;
251+
break;
251252
}
252253
case 'f':
253254
config.time_precision = atoi(optarg);

0 commit comments

Comments
 (0)