Skip to contentSkip to conversation

master - cleanup: use existing define with prefix

PATCH Zdenek Kabelac 1 participant 1 message Dec 4, 2017

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=110dac870c0a0f53b4569f99daf5b6ac83a549f0
Commit:        110dac870c0a0f53b4569f99daf5b6ac83a549f0
Parent:        1f73cadd2d7cf7eaef2bc9c9944b2c72fb67bf2d
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Mon Dec 4 14:26:37 2017 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Mon Dec 4 15:38:50 2017 +0100

cleanup: use existing define with prefix

---
 lib/commands/toolcontext.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/commands/toolcontext.c +1 -1
index 1985c30..1d21443 100644
@@ -566,7 +566,7 @@ static int _process_config(struct cmd_context *cmd)
 #ifdef DEVMAPPER_SUPPORT
 	dm_set_dev_dir(cmd->dev_dir);
 
-	if (!dm_set_uuid_prefix("LVM-"))
+	if (!dm_set_uuid_prefix(UUID_PREFIX))
 		return_0;
 #endif