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/snapshot | |
parent | 0ce150280ed703aad27f8d5c37db02dfa63da382 (diff) | |
download | lvm2-214e2cddf639e4b5a610e34ac24dbe2fd4618fb6.tar.gz |
segtypes: Use SEG_TYPE_NAME_ string constants.
Diffstat (limited to 'lib/snapshot')
-rw-r--r-- | lib/snapshot/snapshot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/snapshot/snapshot.c b/lib/snapshot/snapshot.c index 0886206bf..4a8f00512 100644 --- a/lib/snapshot/snapshot.c +++ b/lib/snapshot/snapshot.c @@ -259,7 +259,7 @@ struct segment_type *init_segtype(struct cmd_context *cmd) return_NULL; segtype->ops = &_snapshot_ops; - segtype->name = "snapshot"; + segtype->name = SEG_TYPE_NAME_SNAPSHOT; segtype->flags = SEG_SNAPSHOT | SEG_CANNOT_BE_ZEROED | SEG_ONLY_EXCLUSIVE; #ifdef DEVMAPPER_SUPPORT |