projects
/
platform
/
upstream
/
libatasmart.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0aca631
)
only use 'prefail' attributes for overall status
author
Lennart Poettering
<lennart@poettering.net>
Wed, 15 Apr 2009 21:27:40 +0000
(23:27 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 15 Apr 2009 21:27:40 +0000
(23:27 +0200)
atasmart.c
patch
|
blob
|
history
diff --git
a/atasmart.c
b/atasmart.c
index
e24c910
..
b8ff4a4
100644
(file)
--- 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;
}