summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWojciech Piekutowski <wojciech@piekutowski.net>2011-04-12 23:55:29 +0200
committerWojciech Piekutowski <wojciech@piekutowski.net>2011-04-12 23:55:29 +0200
commit9f7f85bce8e204b82303ff8861676d6a9aeb342f (patch)
tree858d90d5b87410c98b14320b3c182bab268ad9db
parent610595f507e7f592bc854c427e917e094c75c48d (diff)
Treat 'Media Wearout Indicator' as a percentage
-rw-r--r--atasmart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/atasmart.c b/atasmart.c
index 698f2e2..d3be001 100644
--- a/atasmart.c
+++ b/atasmart.c
@@ -1826,7 +1826,7 @@ static const SkSmartAttributeInfo *lookup_attribute(SkDisk *d, uint8_t id) {
/* %STRINGPOOLSTART% */
if (quirk & SK_SMART_QUIRK_233_MEDIAWEAROUTINDICATOR) {
static const SkSmartAttributeInfo a = {
- "media-wearout-indicator", SK_SMART_ATTRIBUTE_UNIT_UNKNOWN, NULL
+ "media-wearout-indicator", SK_SMART_ATTRIBUTE_UNIT_PERCENT, NULL
};
return &a;
}