From 6afdd8b2c56c09ab6d20d8d53aeee5a2faec44e9 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 15 Apr 2009 23:28:47 +0200 Subject: don't look for reallocated-sector-count since some vendors seem to encode this differently than others --- atasmart.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/atasmart.c b/atasmart.c index b8ff4a4..9ca76ab 100644 --- a/atasmart.c +++ b/atasmart.c @@ -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; -- cgit