Silence some bogus error message.

This commit is contained in:
Andreas Mohr 2000-09-16 20:47:00 +00:00 committed by Alexandre Julliard
parent 65cab52a5c
commit 0c6e36999b

View file

@ -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;