diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2021-03-09 11:42:29 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2021-03-10 01:11:52 +0100 |
commit | 5f7a7af7f201fea454bc4200bc76c4c75ef95463 (patch) | |
tree | 48b347439a3cbf11b14ffa27e26f8a3016873416 /tools/lvchange.c | |
parent | c05077f4d4534fd0f63a9642b596262843f81e30 (diff) | |
download | lvm2-5f7a7af7f201fea454bc4200bc76c4c75ef95463.tar.gz |
cleanup: no backtraces needed after log_error
Reduce double backtracing.
Diffstat (limited to 'tools/lvchange.c')
-rw-r--r-- | tools/lvchange.c | 2 |
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. */ |