diff options
Diffstat (limited to 'kscd/libwm/plat_news.c')
-rw-r--r-- | kscd/libwm/plat_news.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kscd/libwm/plat_news.c b/kscd/libwm/plat_news.c index 304ebfda..4b9f2ef7 100644 --- a/kscd/libwm/plat_news.c +++ b/kscd/libwm/plat_news.c @@ -181,7 +181,7 @@ int gen_get_drive_status( struct wm_drive *d, int oldmode, int *mode, int *pos, int *track, int *index) { - struct CD_tqStatus sc; + struct CD_Status sc; /* If we can't get status, the CD is ejected, so default to that. */ *mode = WM_CDM_EJECTED; @@ -199,7 +199,7 @@ gen_get_drive_status( struct wm_drive *d, int oldmode, } /* Disc is ejected. Close the device. */ - if (CD_GettqStatus(d->fd, &sc)) + if (CD_GetStatus(d->fd, &sc)) { gen_close(d); return (0); |