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:
fd56d21
)
when dumping status print message when SMART is not supported
author
Lennart Poettering
<lennart@poettering.net>
Tue, 14 Apr 2009 20:23:55 +0000
(22:23 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 14 Apr 2009 20:23:55 +0000
(22:23 +0200)
atasmart.c
patch
|
blob
|
history
diff --git
a/atasmart.c
b/atasmart.c
index
da6138b
..
e24c910
100644
(file)
--- a/
atasmart.c
+++ b/
atasmart.c
@@
-2046,7
+2046,8
@@
int sk_disk_dump(SkDisk *d) {
if ((ret = sk_disk_smart_parse_attributes(d, disk_dump_attributes, NULL)) < 0)
return ret;
- }
+ } else
+ printf("ATA SMART not supported.\n");
return 0;
}