* [PATCH] fix typo in cdrom.c
@ 2004-11-23 22:04 Edward Falk
0 siblings, 0 replies; only message in thread
From: Edward Falk @ 2004-11-23 22:04 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 57 bytes --]
Bug in dvd_read_manufact found by inspection.
-ed falk
[-- Attachment #2: patch-cdrom --]
[-- Type: text/plain, Size: 516 bytes --]
--- linux.old/drivers/cdrom/cdrom.c 2004-09-30 16:21:41.000000000 -0700
+++ linux/drivers/cdrom/cdrom.c 2004-11-23 13:56:24.000000000 -0800
@@ -1763,7 +1763,7 @@ static int dvd_read_manufact(struct cdro
s->manufact.len = buf[0] << 8 | buf[1];
if (s->manufact.len < 0 || s->manufact.len > 2048) {
cdinfo(CD_WARNING, "Received invalid manufacture info length"
- " (%d)\n", s->bca.len);
+ " (%d)\n", s->manufact.len);
ret = -EIO;
} else {
memcpy(s->manufact.value, &buf[4], s->manufact.len);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-11-23 22:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-23 22:04 [PATCH] fix typo in cdrom.c Edward Falk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox