diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-04-15 23:28:47 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-04-15 23:28:47 +0200 |
commit | 6afdd8b2c56c09ab6d20d8d53aeee5a2faec44e9 (patch) | |
tree | 6aacec0cacbbb75d5d916adcb6f1b19d528a4294 | |
parent | 66f3a5f5f6aac2b92b8b742899a3011b7cf380d2 (diff) |
don't look for reallocated-sector-count since some vendors seem to encode this differently than others
-rw-r--r-- | atasmart.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1692,8 +1692,7 @@ static void reallocated_cb(SkDisk *d, const SkSmartAttributeParsedData *a, struc if (a->pretty_unit != SK_SMART_ATTRIBUTE_UNIT_SECTORS) return; - if (!strcmp(a->name, "reallocated-sector-count") || - !strcmp(a->name, "reallocated-event-count")) { + if (!strcmp(a->name, "reallocated-sector-count")) { if (!ah->found || a->pretty_value > *ah->value) *ah->value = a->pretty_value; |