From 66f3a5f5f6aac2b92b8b742899a3011b7cf380d2 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 15 Apr 2009 23:27:40 +0200 Subject: only use 'prefail' attributes for overall status --- atasmart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit