Convert speed into KB/s. This was missed by the previous commit to this file.

MFC after:	3 weeks
This commit is contained in:
Nate Lawson 2002-10-26 23:32:35 +00:00
parent f643de42bb
commit dfb87d2239

View File

@ -119,7 +119,7 @@ main(int argc, char **argv)
if (strcasecmp("max", optarg) == 0)
speed = CDR_MAX_SPEED;
else
speed = atoi(optarg);
speed = atoi(optarg) * 177;
if (speed <= 0)
errx(EX_USAGE, "Invalid speed: %s", optarg);
break;