chiark / gitweb /
fix klibc build issue in cdrom_id.c
authorGreg KH <gregkh@suse.de>
Thu, 11 Aug 2005 21:38:33 +0000 (14:38 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 11 Aug 2005 21:38:33 +0000 (14:38 -0700)
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
extras/cdrom_id/cdrom_id.c

index f0acedd..556499b 100644 (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;