Skip to content
Snippets Groups Projects
Commit 35c85ce2 authored by ballen4705's avatar ballen4705
Browse files

Changed print format for IBM disks

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@18 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent 0082a08a
No related branches found
No related tags found
No related merge requests found
// $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]);
......
// $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]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment