Adjusted to new (more mature) speed info semantics

This commit is contained in:
Thomas Schmitt 2006-12-25 19:01:25 +00:00
parent 979e35d979
commit 1b68e65005
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ int telltoc_media(struct burn_drive *drive)
max_speed = ((double ) ret) / speed_conv;
ret= burn_drive_get_min_write_speed(drive);
min_speed = ((double ) ret) / speed_conv;
if (strstr(profile_name, "CD") != profile_name)
if (!media_found)
printf("Drive speed : max=%.1f , min=%.1f\n",
max_speed, min_speed);
else