mirror of
https://github.com/kdave/btrfs-progs
synced 2025-05-09 03:17:55 +00:00
btrfs-progs: fix spacing in error messages
Signed-off-by: David Sterba <dsterba@suse.cz>
This commit is contained in:
parent
ad96e8f4d6
commit
15ed5e2a91
@ -1711,7 +1711,7 @@ int btrfs_list_find_updated_files(int fd, u64 root_id, u64 oldest_gen)
|
|||||||
ret = ioctl(fd, BTRFS_IOC_TREE_SEARCH, &args);
|
ret = ioctl(fd, BTRFS_IOC_TREE_SEARCH, &args);
|
||||||
e = errno;
|
e = errno;
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
fprintf(stderr, "ERROR: can't perform the search- %s\n",
|
fprintf(stderr, "ERROR: can't perform the search - %s\n",
|
||||||
strerror(e));
|
strerror(e));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -1911,7 +1911,7 @@ int btrfs_list_get_path_rootid(int fd, u64 *treeid)
|
|||||||
ret = ioctl(fd, BTRFS_IOC_INO_LOOKUP, &args);
|
ret = ioctl(fd, BTRFS_IOC_INO_LOOKUP, &args);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"ERROR: can't perform the search -%s\n",
|
"ERROR: can't perform the search - %s\n",
|
||||||
strerror(errno));
|
strerror(errno));
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
2
qgroup.c
2
qgroup.c
@ -1160,7 +1160,7 @@ u64 btrfs_get_path_rootid(int fd)
|
|||||||
ret = ioctl(fd, BTRFS_IOC_INO_LOOKUP, &args);
|
ret = ioctl(fd, BTRFS_IOC_INO_LOOKUP, &args);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"ERROR: can't perform the search -%s\n",
|
"ERROR: can't perform the search - %s\n",
|
||||||
strerror(errno));
|
strerror(errno));
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
@ -556,7 +556,7 @@ int subvol_uuid_search_init(int mnt_fd, struct subvol_uuid_search *s)
|
|||||||
ret = is_uuid_tree_supported(mnt_fd);
|
ret = is_uuid_tree_supported(mnt_fd);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"ERROR: check if we support uuid tree fails- %s\n",
|
"ERROR: check if we support uuid tree fails - %s\n",
|
||||||
strerror(errno));
|
strerror(errno));
|
||||||
return ret;
|
return ret;
|
||||||
} else if (ret) {
|
} else if (ret) {
|
||||||
@ -579,7 +579,7 @@ int subvol_uuid_search_init(int mnt_fd, struct subvol_uuid_search *s)
|
|||||||
ret = ioctl(mnt_fd, BTRFS_IOC_TREE_SEARCH, &args);
|
ret = ioctl(mnt_fd, BTRFS_IOC_TREE_SEARCH, &args);
|
||||||
e = errno;
|
e = errno;
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
fprintf(stderr, "ERROR: can't perform the search- %s\n",
|
fprintf(stderr, "ERROR: can't perform the search - %s\n",
|
||||||
strerror(e));
|
strerror(e));
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user