MFC r202709:
Give the right value when complaining it being wrong. Reported by: danfe
This commit is contained in:
parent
e72cd11ab1
commit
6ce2179f01
@ -151,7 +151,7 @@ main(int argc, char **argv)
|
||||
else
|
||||
speed = atoi(env_speed) * 177;
|
||||
if (speed <= 0)
|
||||
errx(EX_USAGE, "Invalid speed: %s", optarg);
|
||||
errx(EX_USAGE, "Invalid speed: %s", env_speed);
|
||||
|
||||
if (argc == 0)
|
||||
usage();
|
||||
|
Loading…
x
Reference in New Issue
Block a user