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:
2bd0849
)
make sure we don't choke on attribute id 255
author
Lennart Poettering
<lennart@poettering.net>
Sun, 5 Apr 2009 16:51:50 +0000
(18:51 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Sun, 5 Apr 2009 16:51:50 +0000
(18:51 +0200)
atasmart.c
patch
|
blob
|
history
diff --git
a/atasmart.c
b/atasmart.c
index
ec47a0e
..
7da80e0
100644
(file)
--- a/
atasmart.c
+++ b/
atasmart.c
@@
-883,7
+883,7
@@
typedef struct SkSmartAttributeInfo {
/* This data is stolen from smartmontools */
/* %STRINGPOOLSTART% */
-static const SkSmartAttributeInfo const attribute_info[25
5
] = {
+static const SkSmartAttributeInfo const attribute_info[25
6
] = {
[1] = { "raw-read-error-rate", SK_SMART_ATTRIBUTE_UNIT_NONE },
[2] = { "throughput-performance", SK_SMART_ATTRIBUTE_UNIT_UNKNOWN },
[3] = { "spin-up-time", SK_SMART_ATTRIBUTE_UNIT_MSECONDS },