summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--atasmart.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/atasmart.c b/atasmart.c
index 20c3931..053cb88 100644
--- a/atasmart.c
+++ b/atasmart.c
@@ -1129,6 +1129,8 @@ static void make_pretty(SkSmartAttributeParsedData *a) {
!strcmp(a->name, "loaded-hours") ||
!strcmp(a->name, "head-flying-hours"))
a->pretty_value = fourtyeight * 60 * 60 * 1000;
+ else if (!strcmp(a->name, "reallocated-sector-count"))
+ a->pretty_value = fourtyeight & 0xFFFFFFFFU;
else
a->pretty_value = fourtyeight;
}