From 8ee99e32799956f23bfd898c48b1276ed47d5c1d Mon Sep 17 00:00:00 2001 From: Greg KH Date: Thu, 11 Aug 2005 14:04:24 -0700 Subject: changed cdrom_id exports to be easier to understand and consistant with other _id programs. Signed-off-by: Greg Kroah-Hartman --- extras/cdrom_id/cdrom_id.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'extras') diff --git a/extras/cdrom_id/cdrom_id.c b/extras/cdrom_id/cdrom_id.c index 7d97d0b07b..f0acedd1cc 100644 --- a/extras/cdrom_id/cdrom_id.c +++ b/extras/cdrom_id/cdrom_id.c @@ -98,27 +98,27 @@ int main(int argc, char *argv[]) goto close; } - printf("ID_CDC=true\n"); + printf("ID_CDROM=1\n"); if (result & CDC_CD_R) - printf("ID_CDC_CD_R=true\n"); + printf("ID_CDROM_CD_R=1\n"); if (result & CDC_CD_RW) - printf("ID_CDC_CD_RW=true\n"); + printf("ID_CDROM_CD_RW=1\n"); if (result & CDC_DVD) - printf("ID_CDC_DVD=true\n"); + printf("ID_CDROM_DVD=1\n"); if (result & CDC_DVD_R) - printf("ID_CDC_DVD_R=true\n"); + printf("ID_CDROM_DVD_R=1\n"); if (result & CDC_DVD_RAM) - printf("ID_CDC_DVD_RAM=true\n"); + printf("ID_CDROM_DVD_RAM=1\n"); if (result & CDC_MRW) - printf("ID_CDC_MRW=true\n"); + printf("ID_CDROM_MRW=1\n"); if (result & CDC_MRW_W) - printf("ID_CDC_MRW_W=true\n"); + printf("ID_CDROM_MRW_W=1\n"); if (result & CDC_RAM) - printf("ID_CDC_RAM=true\n"); + printf("ID_CDROM_RAM=1\n"); goto close; close: -- cgit v1.2.3-54-g00ecf