add some \t

This commit is contained in:
lukas-heiligenbrunner 2022-05-04 12:16:02 +02:00
parent 017449a58b
commit 621756115e
2 changed files with 4 additions and 4 deletions

View File

@ -42,7 +42,7 @@ func main() {
}
disks := getDisks()
fmt.Printf("Running smart check on all %d disks.\n", len(disks.Blockdevices))
fmt.Printf("Running smart check on %d disks.\n", len(disks.Blockdevices))
for _, blockdevice := range disks.Blockdevices {
path := fmt.Sprintf("/dev/%s", blockdevice.Name)
info := getDiskInfo(path)

View File

@ -75,9 +75,9 @@ func checkSmartAttributes(diskpath string, isSeagate bool, isHdd bool) {
// error count| operation count
rrerrrate = rrerrrate >> 32
}
fmt.Println("Seek_Error_Rate: " + evalStrZero(rrerrrate))
fmt.Println("Spin_Retry_Count: " + evalStrZero(getItemValue(rawattr.AtaSmartAttr.Table, "Spin_Retry_Count")))
fmt.Println("Spin_Up_Time: " + evalStrZero(getItemValue(rawattr.AtaSmartAttr.Table, "Spin_Up_Time")))
fmt.Println("Seek_Error_Rate:\t" + evalStrZero(rrerrrate))
fmt.Println("Spin_Retry_Count:\t" + evalStrZero(getItemValue(rawattr.AtaSmartAttr.Table, "Spin_Retry_Count")))
fmt.Println("Spin_Up_Time:\t\t" + evalStrZero(getItemValue(rawattr.AtaSmartAttr.Table, "Spin_Up_Time")))
}
}