summaryrefslogtreecommitdiffstats
path: root/sys/dev/scd
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2002-11-05 10:56:14 +0000
committermdodd <mdodd@FreeBSD.org>2002-11-05 10:56:14 +0000
commit700f038d71edb29312d276fe0421a608b84e3ecc (patch)
treee1a6e7e53375423c5fa15e2e845da468bc057d2c /sys/dev/scd
parent68fee857cb451ce5917244a665f60e14ce7a8cc7 (diff)
downloadFreeBSD-src-700f038d71edb29312d276fe0421a608b84e3ecc.zip
FreeBSD-src-700f038d71edb29312d276fe0421a608b84e3ecc.tar.gz
Remove undefined variable.
Somehow this didn't make it in the last commits.
Diffstat (limited to 'sys/dev/scd')
-rw-r--r--sys/dev/scd/scd.c2
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)) {
OpenPOWER on IntegriCloud