can-calc-bit-timing: fix getopt typo: p -> q

Reported-by: Jon Neal <reportingsjr@gmail.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
Marc Kleine-Budde
2016-05-24 08:34:44 +02:00
parent d82ccd76ac
commit b70a76670d
+1 -1
View File
@@ -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);