diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-04-14 22:23:55 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-04-14 22:23:55 +0200 |
commit | 2346ef47503dfccf4978a62893a9d58e37937f88 (patch) | |
tree | 50f62f26cc9bedbf82cd34634ef8ed6fa35cf3cb /atasmart.c | |
parent | fd56d21c7477f026bb1c9d353c461d08e22ba024 (diff) |
when dumping status print message when SMART is not supported
Diffstat (limited to 'atasmart.c')
-rw-r--r-- | atasmart.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; } |