diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-05-07 02:06:30 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-05-07 02:06:30 +0200 |
commit | b5ea0622d20806e20e84f9a3a216040561a13287 (patch) | |
tree | df582af82b9a8756abc7bcb49250d847ea1ec49a | |
parent | 4f1a396f3cb70bd9df081167124ff06d1fb9bdb4 (diff) | |
download | libatasmart-b5ea0622d20806e20e84f9a3a216040561a13287.tar.gz |
show full device string when dumping status
-rw-r--r-- | atasmart.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2115,8 +2115,10 @@ int sk_disk_dump(SkDisk *d) { assert(d); - printf("Device: %s\n" + printf("Device: %s%s%s\n" "Type: %s\n", + d->name ? disk_type_to_prefix_string(d->type) : "", + d->name ? ":" : "", d->name ? d->name : "n/a", disk_type_to_human_string(d->type)); |