summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg KH <gregkh@suse.de>2005-08-11 14:38:33 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2005-08-11 14:38:33 -0700
commit5a64cea1e18dd4e62b6388c8bed86192a1e0c731 (patch)
tree07f418ce6ce2e5f5e8c021746647ca969a9126cc
parentc1986ea33c26fc285688cfbc0a8473cd10c733ca (diff)
fix klibc build issue in cdrom_id.c
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-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;