projects
/
platform
/
upstream
/
libatasmart.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
610595f
)
Treat 'Media Wearout Indicator' as a percentage
author
Wojciech Piekutowski
<wojciech@piekutowski.net>
Tue, 12 Apr 2011 21:55:29 +0000
(23:55 +0200)
committer
Wojciech Piekutowski
<wojciech@piekutowski.net>
Tue, 12 Apr 2011 21:55:29 +0000
(23:55 +0200)
atasmart.c
patch
|
blob
|
history
diff --git
a/atasmart.c
b/atasmart.c
index
698f2e2
..
d3be001
100644
(file)
--- 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;
}