diff --git a/lib/label/hints.c b/lib/label/hints.c index aed0ea2ff..47236a15a 100644 --- a/lib/label/hints.c +++ b/lib/label/hints.c @@ -448,7 +448,7 @@ static int _dev_in_hint_hash(struct cmd_context *cmd, struct device *dev) return 0; if (!dev_get_size(dev, &devsize) || !devsize) - return_0; + return 0; return 1; } diff --git a/lib/metadata/metadata.c b/lib/metadata/metadata.c index cee236e3e..47d3d8b3e 100644 --- a/lib/metadata/metadata.c +++ b/lib/metadata/metadata.c @@ -4603,7 +4603,7 @@ static bool _scan_text_mismatch(struct cmd_context *cmd, const char *vgname, con /* For other commands, return mismatch immediately. */ if (ret) - goto_out; + goto out; } if (ret) {