scsi_read_capacity_data_long -> scsi_read_capacity_data_16
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 5 Jun 2009 16:29:01 +0000 (09:29 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 5 Jun 2009 16:29:01 +0000 (09:29 -0700)
Reported-by: "Simon 'corecode' Schubert" <corecode@fs.ei.tum.de>
sbin/camcontrol/camcontrol.c

index e7514bb..ee59413 100644 (file)
@@ -3454,7 +3454,7 @@ scsireadcapacity(struct cam_device *device, int argc, char **argv,
        union ccb *ccb;
        int blocksizeonly, humanize, numblocks, quiet, sizeonly, baseten;
        struct scsi_read_capacity_data rcap;
-       struct scsi_read_capacity_data_long rcaplong;
+       struct scsi_read_capacity_data_16 rcaplong;
        uint64_t maxsector;
        uint32_t block_len;
        int retval;