summaryrefslogtreecommitdiff
path: root/tools/lvchange.c
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2021-03-09 11:42:29 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2021-03-10 01:11:52 +0100
commit5f7a7af7f201fea454bc4200bc76c4c75ef95463 (patch)
tree48b347439a3cbf11b14ffa27e26f8a3016873416 /tools/lvchange.c
parentc05077f4d4534fd0f63a9642b596262843f81e30 (diff)
downloadlvm2-5f7a7af7f201fea454bc4200bc76c4c75ef95463.tar.gz
cleanup: no backtraces needed after log_error
Reduce double backtracing.
Diffstat (limited to 'tools/lvchange.c')
-rw-r--r--tools/lvchange.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lvchange.c b/tools/lvchange.c
index 31633987b..0189c365e 100644
--- a/tools/lvchange.c
+++ b/tools/lvchange.c
@@ -1655,7 +1655,7 @@ static int _lvchange_syncaction_single(struct cmd_context *cmd,
if (lv_raid_has_integrity(lv) && !strcmp(msg, "repair")) {
log_error("Use syncaction check to detect and correct integrity checksum mismatches.");
- return_ECMD_FAILED;
+ return ECMD_FAILED;
}
/* If LV is inactive here, ensure it's not active elsewhere. */