diff --git a/check_scsi_smart.c b/check_scsi_smart.c index 2b3cd3a..d5f3c26 100644 --- a/check_scsi_smart.c +++ b/check_scsi_smart.c @@ -120,8 +120,9 @@ typedef struct __attribute__((packed)) { uint16_t flags; uint8_t value; uint8_t worst; - uint32_t raw; - uint8_t pad[3]; + uint32_t raw_lo; + uint16_t raw_hi; + uint8_t pad; } smart_attribute; /* @@ -541,7 +542,7 @@ int main(int argc, char** argv) { smart_thresholds st; ata_smart_read_thresholds(fd, (unsigned char*)&st); - printf("ID Name Value Worst Thresh Type Updated Raw Status\n"); + printf("ID Name Value Worst Thresh Type Updated Raw Status\n"); int i=0; for(; i