summaryrefslogtreecommitdiff
path: root/extras/cdrom_id
diff options
context:
space:
mode:
authorGreg KH <gregkh@suse.de>2005-08-11 14:04:24 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2005-08-11 14:04:24 -0700
commit8ee99e32799956f23bfd898c48b1276ed47d5c1d (patch)
tree5c4fc86afd4e4bbcf33a59f9711237937884f46d /extras/cdrom_id
parent8f6919e6390d79a2765e1dc9b0057412e987dce2 (diff)
changed cdrom_id exports to be easier to understand and consistant with other _id programs.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'extras/cdrom_id')
-rw-r--r--extras/cdrom_id/cdrom_id.c18
1 files changed, 9 insertions, 9 deletions
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: