fix klibc build issue in cdrom_id.c

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Greg KH
2005-08-11 14:38:33 -07:00
committed by Greg Kroah-Hartman
parent c1986ea33c
commit 5a64cea1e1
+2 -2
View File
@@ -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;