Skip to content

Commit

Permalink
can-calc-bit-timing: fix getopt typo: p -> q
Browse files Browse the repository at this point in the history
Reported-by: Jon Neal <reportingsjr@gmail.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
  • Loading branch information
marckleinebudde committed May 24, 2016
1 parent d82ccd7 commit b70a766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion can-calc-bit-timing.c
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ int main(int argc, char *argv[])

const struct calc_bittiming_const *btc;

while ((opt = getopt(argc, argv, "b:c:lps:")) != -1) {
while ((opt = getopt(argc, argv, "b:c:lqs:")) != -1) {
switch (opt) {
case 'b':
bitrate_nominal = atoi(optarg);
Expand Down

0 comments on commit b70a766

Please sign in to comment.