From 0c6e36999ba0ea0c2a8ab5c244463b1bb232f143 Mon Sep 17 00:00:00 2001 From: Andreas Mohr Date: Sat, 16 Sep 2000 20:47:00 +0000 Subject: [PATCH] Silence some bogus error message. --- misc/cdrom.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/misc/cdrom.c b/misc/cdrom.c index 224026ce9cb..b517845994d 100644 --- a/misc/cdrom.c +++ b/misc/cdrom.c @@ -709,7 +709,8 @@ DWORD CDROM_GetSerial(int drive) TRACE("%sCD serial number is %04x-%04x.\n", p, HIWORD(serial), LOWORD(serial)); else - ERR("couldn't get %sCD serial !\n", p); + if (media >= CDS_AUDIO) + ERR("couldn't get %sCD serial !\n", p); CDROM_Close(&wcda); } return serial;