From 35c85ce22ebb0c47b945aa00c559a06fb0541be5 Mon Sep 17 00:00:00 2001 From: ballen4705 <ballen4705@4ea69e1a-61f1-4043-bf83-b5c94c648137> Date: Thu, 10 Oct 2002 21:36:47 +0000 Subject: [PATCH] Changed print format for IBM disks git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@18 4ea69e1a-61f1-4043-bf83-b5c94c648137 --- sm5/ataprint.c | 4 ++-- sm5/ataprint.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sm5/ataprint.c b/sm5/ataprint.c index 38031db94..10a76edf3 100644 --- a/sm5/ataprint.c +++ b/sm5/ataprint.c @@ -1,4 +1,4 @@ -// $Id: ataprint.c,v 1.1 2002/10/09 17:56:58 ballen4705 Exp $ +// $Id: ataprint.c,v 1.2 2002/10/10 21:36:47 ballen4705 Exp $ /* * ataprint.c * @@ -312,7 +312,7 @@ void PrintSmartAttribWithThres ( struct ata_smart_values data, if (data.vendor_attributes[i].id!=194 || rawvalue<200) printf ("%llu\n", rawvalue); else - printf("First: %u Second: %u Third: %u\n", + printf("%u (Lifetime Low/Max %u/%u)\n", data.vendor_attributes[i].raw[0], data.vendor_attributes[i].raw[2], data.vendor_attributes[i].raw[4]); diff --git a/sm5/ataprint.cpp b/sm5/ataprint.cpp index 00069b6db..79fd7e357 100644 --- a/sm5/ataprint.cpp +++ b/sm5/ataprint.cpp @@ -1,4 +1,4 @@ -// $Id: ataprint.cpp,v 1.1 2002/10/09 17:56:58 ballen4705 Exp $ +// $Id: ataprint.cpp,v 1.2 2002/10/10 21:36:47 ballen4705 Exp $ /* * ataprint.c * @@ -312,7 +312,7 @@ void PrintSmartAttribWithThres ( struct ata_smart_values data, if (data.vendor_attributes[i].id!=194 || rawvalue<200) printf ("%llu\n", rawvalue); else - printf("First: %u Second: %u Third: %u\n", + printf("%u (Lifetime Low/Max %u/%u)\n", data.vendor_attributes[i].raw[0], data.vendor_attributes[i].raw[2], data.vendor_attributes[i].raw[4]); -- GitLab