From b1fb52083c74be207bcba0b383d75721f55f4cdc Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 6 May 2009 20:21:12 +0200 Subject: look at lower 32 bit of current-pending-sector raw data only, similar to reallocated-sector-count --- atasmart.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/atasmart.c b/atasmart.c index b373a02..bd78c9f 100644 --- a/atasmart.c +++ b/atasmart.c @@ -1129,7 +1129,8 @@ static void make_pretty(SkSmartAttributeParsedData *a) { !strcmp(a->name, "loaded-hours") || !strcmp(a->name, "head-flying-hours")) a->pretty_value = (fourtyeight & 0xFFFFFFFFU) * 60 * 60 * 1000; - else if (!strcmp(a->name, "reallocated-sector-count")) + else if (!strcmp(a->name, "reallocated-sector-count") || + !strcmp(a->name, "current-pending-sector")) a->pretty_value = fourtyeight & 0xFFFFFFFFU; else a->pretty_value = fourtyeight; -- cgit