Revision e7ff8f0e blockdev.c

b/blockdev.c
310 310
	    media = MEDIA_DISK;
311 311
	} else if (!strcmp(buf, "cdrom")) {
312 312
            if (cyls || secs || heads) {
313
                error_report("'%s' invalid physical CHS format", buf);
313
                error_report("CHS can't be set with media=%s", buf);
314 314
	        return NULL;
315 315
            }
316 316
	    media = MEDIA_CDROM;

Also available in: Unified diff