Tiny fix^2 for ide-cd in 2.1.126

Chip Salzenberg (chip@perlsupport.com)
Sat, 24 Oct 1998 03:07:55 -0400


Thanks, Linus, for applying my ide-cd patch for IDE CD changers.
But I committed a minor gaff WRT the return value of the ioctl()
in question. Here's a fix:

Index: drivers/block/ide-cd.c
*************** int ide_cdrom_select_disc (struct cdrom_
*** 2633,2637 ****
(void) cdrom_lockdoor (drive, 1, NULL);

! return stat;
}
}
--- 2633,2637 ----
(void) cdrom_lockdoor (drive, 1, NULL);

! return slot;
}
}

-- 
Chip Salzenberg               - a.k.a. -              <chip@perlsupport.com>
 "... under cover of afternoon in the biggest car in the county?!" //MST3K

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/