summaryrefslogtreecommitdiff
path: root/extras/cdrom_id
diff options
context:
space:
mode:
Diffstat (limited to 'extras/cdrom_id')
-rw-r--r--extras/cdrom_id/cdrom_id.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/cdrom_id/cdrom_id.c b/extras/cdrom_id/cdrom_id.c
index f0acedd1cc..556499b811 100644
--- a/extras/cdrom_id/cdrom_id.c
+++ b/extras/cdrom_id/cdrom_id.c
@@ -91,7 +91,7 @@ int main(int argc, char *argv[])
goto exit;
}
- result = ioctl(fd, CDROM_GET_CAPABILITY);
+ result = ioctl(fd, CDROM_GET_CAPABILITY, NULL);
if (result < 0) {
err("CDROM_GET_CABILITY failed for '%s'", node);
rc = 3;
@@ -116,7 +116,7 @@ int main(int argc, char *argv[])
printf("ID_CDROM_MRW=1\n");
if (result & CDC_MRW_W)
printf("ID_CDROM_MRW_W=1\n");
-
+
if (result & CDC_RAM)
printf("ID_CDROM_RAM=1\n");
goto close;