summaryrefslogtreecommitdiffstats
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 e24c910..b8ff4a4 100644
--- a/atasmart.c
+++ b/atasmart.c
@@ -1768,7 +1768,7 @@ const char* sk_smart_overall_to_string(SkSmartOverall overall) {
}
static void bad_attribute_cb(SkDisk *d, const SkSmartAttributeParsedData *a, SkBool *good) {
- if (a->good_valid && !a->good)
+ if (a->prefailure && a->good_valid && !a->good)
*good = FALSE;
}