summaryrefslogtreecommitdiffstats
path: root/scripts/lvm2_monitoring_systemd_red_hat.service.in
diff options
context:
space:
mode:
authorJonathan Brassow <jbrassow@redhat.com>2012-09-05 11:35:54 -0500
committerJonathan Brassow <jbrassow@redhat.com>2012-09-05 11:35:54 -0500
commitc3eb3a76875ccf8c544c991bc52b6b3061bf8f58 (patch)
tree13c75423be2ee31d2b69731cdfad8b14eaef4ded /scripts/lvm2_monitoring_systemd_red_hat.service.in
parent1b01a2f65a27b95717fa7b6d912271e330782873 (diff)
downloadlvm2-c3eb3a76875ccf8c544c991bc52b6b3061bf8f58.tar.gz
lvm2-c3eb3a76875ccf8c544c991bc52b6b3061bf8f58.tar.xz
lvm2-c3eb3a76875ccf8c544c991bc52b6b3061bf8f58.zip
cleanup: Use segtype->ops->name() instead of segtype->name where applicable
When printing a message for the user and the lv_segment pointer is available, use segtype->ops->name() instead of segtype->name. This gives a better user-readable name for the segment. This is especially true for the 'striped' segment type, which prints "linear" if there is an area_count of one.
Diffstat (limited to 'scripts/lvm2_monitoring_systemd_red_hat.service.in')
0 files changed, 0 insertions, 0 deletions