mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-11 14:10:34 +00:00
Give the right value when complaining it being wrong.
Reported by: danfe MFC after: 3 days
This commit is contained in:
parent
189ee6be40
commit
db75450166
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=202709
@ -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…
Reference in New Issue
Block a user