mirror of
https://github.com/kdave/btrfs-progs
synced 2025-01-03 04:02:04 +00:00
btrfs-progs: fix typos in user-visible strings
* error messages * help strings Generated by https://github.com/jsoref/spelling Issue: #154 Author: Josh Soref <jsoref@users.noreply.github.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
b1d39a42a4
commit
2cd4a76ea9
@ -34,7 +34,7 @@
|
||||
static void print_usage(void)
|
||||
{
|
||||
printf("usage: btrfs-select-super -s number dev\n");
|
||||
printf("\t-s super copy of superbloc to overwrite the primary one (values: 1, 2)\n");
|
||||
printf("\t-s super copy of superblock to overwrite the primary one (values: 1, 2)\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
@ -6871,7 +6871,7 @@ static int verify_backrefs(struct btrfs_fs_info *info, struct btrfs_path *path,
|
||||
goto out;
|
||||
|
||||
fprintf(stderr,
|
||||
"attempting to repair backref discrepency for bytenr %llu\n",
|
||||
"attempting to repair backref discrepancy for bytenr %llu\n",
|
||||
rec->start);
|
||||
|
||||
/*
|
||||
@ -7851,7 +7851,7 @@ static int check_chunk_refs(struct chunk_record *chunk_rec,
|
||||
dev_extent_rec->length != length) {
|
||||
if (!silent)
|
||||
fprintf(stderr,
|
||||
"Chunk[%llu, %u, %llu] stripe[%llu, %llu] dismatch dev extent[%llu, %llu, %llu]\n",
|
||||
"Chunk[%llu, %u, %llu] stripe[%llu, %llu] mismatch dev extent[%llu, %llu, %llu]\n",
|
||||
chunk_rec->objectid,
|
||||
chunk_rec->type,
|
||||
chunk_rec->offset,
|
||||
@ -9484,7 +9484,7 @@ const char * const cmd_check_usage[] = {
|
||||
"trees' consistency and item connectivity. In the repair mode try to",
|
||||
"fix the problems found. ",
|
||||
"WARNING: the repair mode is considered dangerous and should not be used",
|
||||
" without prior analysis of problems found on the flesystem."
|
||||
" without prior analysis of problems found on the filesystem."
|
||||
"",
|
||||
"Options:",
|
||||
" starting point selection:",
|
||||
|
@ -85,7 +85,7 @@ fi
|
||||
|
||||
|
||||
AC_ARG_ENABLE([documentation],
|
||||
AS_HELP_STRING([--disable-documentation], [do not build domumentation]),
|
||||
AS_HELP_STRING([--disable-documentation], [do not build documentation]),
|
||||
[], [enable_documentation=yes]
|
||||
)
|
||||
AS_IF([test "x$enable_documentation" = xyes], [DISABLE_DOCUMENTATION=0], [DISABLE_DOCUMENTATION=1])
|
||||
|
@ -98,7 +98,7 @@ static int setup_temp_super(int fd, struct btrfs_mkfs_config *cfg,
|
||||
|
||||
if (*cfg->fs_uuid) {
|
||||
if (uuid_parse(cfg->fs_uuid, super->fsid) != 0) {
|
||||
error("cound not parse UUID: %s", cfg->fs_uuid);
|
||||
error("could not parse UUID: %s", cfg->fs_uuid);
|
||||
ret = -EINVAL;
|
||||
goto out;
|
||||
}
|
||||
|
@ -2496,7 +2496,7 @@ int main(int argc, char *argv[])
|
||||
} else {
|
||||
if (walk_trees || sanitize != SANITIZE_NONE || compress_level) {
|
||||
error(
|
||||
"useing -w, -s, -c options for restore makes no sense");
|
||||
"using -w, -s, -c options for restore makes no sense");
|
||||
usage_error++;
|
||||
}
|
||||
if (multi_devices && dev_cnt < 2) {
|
||||
|
@ -1339,7 +1339,7 @@ int report_qgroups(int all)
|
||||
if (counts.qgroup_inconsist && !counts.rescan_running &&
|
||||
counts.rescan_running == 0) {
|
||||
printf(
|
||||
"Rescan hasn't been initialzied, a difference in qgroup accounting is expected\n");
|
||||
"Rescan hasn't been initialized, a difference in qgroup accounting is expected\n");
|
||||
skip_err = true;
|
||||
}
|
||||
if (counts.qgroup_inconsist && !counts.rescan_running)
|
||||
|
@ -32,7 +32,7 @@ struct btrfs_trans_handle* btrfs_start_transaction(struct btrfs_root *root,
|
||||
if (!h)
|
||||
return ERR_PTR(-ENOMEM);
|
||||
if (root->commit_root) {
|
||||
error("commit_root aleady set when starting transaction");
|
||||
error("commit_root already set when starting transaction");
|
||||
kfree(h);
|
||||
return ERR_PTR(-EINVAL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user