diff options
author | Alasdair G Kergon <agk@redhat.com> | 2015-09-22 19:04:12 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2015-09-22 19:04:12 +0100 |
commit | 214e2cddf639e4b5a610e34ac24dbe2fd4618fb6 (patch) | |
tree | ce58d96eb26a3c2da199ca3111489fe00f99c8f8 /lib/mirror | |
parent | 0ce150280ed703aad27f8d5c37db02dfa63da382 (diff) | |
download | lvm2-214e2cddf639e4b5a610e34ac24dbe2fd4618fb6.tar.gz |
segtypes: Use SEG_TYPE_NAME_ string constants.
Diffstat (limited to 'lib/mirror')
-rw-r--r-- | lib/mirror/mirrored.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mirror/mirrored.c b/lib/mirror/mirrored.c index 2156165dd..6e189b2fb 100644 --- a/lib/mirror/mirrored.c +++ b/lib/mirror/mirrored.c @@ -620,7 +620,7 @@ struct segment_type *init_segtype(struct cmd_context *cmd) return_NULL; segtype->ops = &_mirrored_ops; - segtype->name = "mirror"; + segtype->name = SEG_TYPE_NAME_MIRROR; segtype->flags = SEG_MIRROR | SEG_AREAS_MIRRORED; #ifdef DEVMAPPER_SUPPORT |