summaryrefslogtreecommitdiff
path: root/atasmart.c
diff options
context:
space:
mode:
Diffstat (limited to 'atasmart.c')
-rw-r--r--atasmart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/atasmart.c b/atasmart.c
index f3c8e32..c0c0ac3 100644
--- a/atasmart.c
+++ b/atasmart.c
@@ -1274,7 +1274,7 @@ static void verify_sectors(SkDisk *d, SkSmartAttributeParsedData *a) {
max_sectors = d->size / 512ULL;
if (a->pretty_value == 0xffffffffULL ||
- a->pretty_value == 0xffffffffffffffffULL ||
+ a->pretty_value == 0xffffffffffffULL ||
(max_sectors > 0 && a->pretty_value > max_sectors)) {
a->pretty_value = SK_SMART_ATTRIBUTE_UNIT_UNKNOWN;
d->attribute_verification_bad = TRUE;