btrfs-progs: check: fix missing newlines
Also, the other progress messages go to stderr, so "checking extents"
probably should, as well.
Fixes: c7a1f66a20
("btrfs-progs: check: switch some messages to common helpers")
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
fc4a828061
commit
776cd164b7
|
@ -11490,13 +11490,14 @@ int cmd_check(int argc, char **argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!ctx.progress_enabled)
|
if (!ctx.progress_enabled)
|
||||||
printf("checking extents");
|
fprintf(stderr, "checking extents\n");
|
||||||
if (check_mode == CHECK_MODE_LOWMEM)
|
if (check_mode == CHECK_MODE_LOWMEM)
|
||||||
ret = check_chunks_and_extents_v2(root);
|
ret = check_chunks_and_extents_v2(root);
|
||||||
else
|
else
|
||||||
ret = check_chunks_and_extents(root);
|
ret = check_chunks_and_extents(root);
|
||||||
if (ret)
|
if (ret)
|
||||||
printf("Errors found in extent allocation tree or chunk allocation");
|
error(
|
||||||
|
"errors found in extent allocation tree or chunk allocation");
|
||||||
|
|
||||||
ret = repair_root_items(info);
|
ret = repair_root_items(info);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
|
|
Loading…
Reference in New Issue