diff options
author | Paul Menzel <pmenzel@molgen.mpg.de> | 2020-05-18 18:58:04 +0200 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-05-21 13:38:27 -0400 |
commit | d53aea02415d8eefb1063b65c3fff23d32150c8c (patch) | |
tree | 0ce667b50f7530989c4d0f357b9eeace50b1118f | |
parent | 232b1c15c8c2144ca9b51aed639c1460e6083d74 (diff) | |
download | seabios-hppa-d53aea02415d8eefb1063b65c3fff23d32150c8c.zip seabios-hppa-d53aea02415d8eefb1063b65c3fff23d32150c8c.tar.gz seabios-hppa-d53aea02415d8eefb1063b65c3fff23d32150c8c.tar.bz2 |
cdrom: Demote `scsi_is_ready` return print to debug level
Printing the return value of `scsi_is_ready()` is a debug message, so
change the log level from 1 to 5.
Booting from DVD/CD...
Device reports MEDIUM NOT PRESENT
scsi_is_ready returned -1
Boot failed: Could not read from CDROM (code 0003)
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
-rw-r--r-- | src/cdrom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cdrom.c b/src/cdrom.c index 577d69d..a77671a 100644 --- a/src/cdrom.c +++ b/src/cdrom.c @@ -142,7 +142,7 @@ cdrom_boot(struct drive_s *drive) int ret = scsi_is_ready(&dop); if (ret) - dprintf(1, "scsi_is_ready returned %d\n", ret); + dprintf(5, "scsi_is_ready returned %d\n", ret); // Read the Boot Record Volume Descriptor u8 buffer[CDROM_SECTOR_SIZE]; |