From: Paul Menzel Date: Mon, 18 May 2020 16:58:04 +0000 (+0200) Subject: cdrom: Demote `scsi_is_ready` return print to debug level X-Git-Tag: rel-1.14.0~12 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=d53aea02415d8eefb1063b65c3fff23d32150c8c;p=seabios.git 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é Signed-off-by: Paul Menzel --- 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];