Fixes invalid call to fprintf
This commit is contained in:
parent
c86c0d2777
commit
29b066ee7d
|
@ -40,7 +40,7 @@ int main(int argc, char **argv) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cfsetspeed(&t_options, speed_from_string(speed)) < 0) {
|
if (cfsetspeed(&t_options, speed_from_string(speed)) < 0) {
|
||||||
fprintf(stderr, "Failed to set port speed.\n", speed);
|
fprintf(stderr, "Failed to set port speed.\n");
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue