diff options
-rw-r--r-- | sys/dev/scd/scd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/scd/scd.c b/sys/dev/scd/scd.c index 1100e49..cbcbdde 100644 --- a/sys/dev/scd/scd.c +++ b/sys/dev/scd/scd.c @@ -1125,7 +1125,7 @@ read_toc(struct scd_softc *sc) cd = &sc->data; - rc = send_cmd(sc, CMD_GET_TOC, 1, part+1); + rc = send_cmd(sc, CMD_GET_TOC, 1, 1); if (rc < 0) return (rc); if (rc > sizeof(toc)) { |