static unsigned int cd_media_cd_rom;
static unsigned int cd_media_cd_r;
static unsigned int cd_media_cd_rw;
static unsigned int cd_media_cd_rom;
static unsigned int cd_media_cd_r;
static unsigned int cd_media_cd_rw;
/* read drive and possibly current profile */
if (cd_profiles(udev, fd) < 0)
/* read drive and possibly current profile */
if (cd_profiles(udev, fd) < 0)