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/zero | |
parent | 0ce150280ed703aad27f8d5c37db02dfa63da382 (diff) | |
download | lvm2-214e2cddf639e4b5a610e34ac24dbe2fd4618fb6.tar.gz |
segtypes: Use SEG_TYPE_NAME_ string constants.
Diffstat (limited to 'lib/zero')
-rw-r--r-- | lib/zero/zero.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/zero/zero.c b/lib/zero/zero.c index 4efa0ceae..33ae9d357 100644 --- a/lib/zero/zero.c +++ b/lib/zero/zero.c @@ -89,7 +89,7 @@ struct segment_type *init_zero_segtype(struct cmd_context *cmd) return_NULL; segtype->ops = &_zero_ops; - segtype->name = "zero"; + segtype->name = SEG_TYPE_NAME_ZERO; segtype->flags = SEG_CAN_SPLIT | SEG_VIRTUAL | SEG_CANNOT_BE_ZEROED; log_very_verbose("Initialised segtype: %s", segtype->name); |