From: David Sterba <dsterba@suse.cz>
To: linux-btrfs@vger.kernel.org
Cc: David Sterba <dsterba@suse.cz>
Subject: [PATCH] btrfs-progs: fix spacing in error messages
Date: Tue, 25 Nov 2014 19:52:00 +0100 [thread overview]
Message-ID: <1416941520-896-1-git-send-email-dsterba@suse.cz> (raw)
Signed-off-by: David Sterba <dsterba@suse.cz>
---
btrfs-list.c | 4 ++--
qgroup.c | 2 +-
send-utils.c | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/btrfs-list.c b/btrfs-list.c
index b6b84935109d..50edcf493869 100644
--- a/btrfs-list.c
+++ b/btrfs-list.c
@@ -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);
e = errno;
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));
break;
}
@@ -1911,7 +1911,7 @@ int btrfs_list_get_path_rootid(int fd, u64 *treeid)
ret = ioctl(fd, BTRFS_IOC_INO_LOOKUP, &args);
if (ret < 0) {
fprintf(stderr,
- "ERROR: can't perform the search -%s\n",
+ "ERROR: can't perform the search - %s\n",
strerror(errno));
return ret;
}
diff --git a/qgroup.c b/qgroup.c
index 368b26284544..1a4866cb7345 100644
--- a/qgroup.c
+++ b/qgroup.c
@@ -1160,7 +1160,7 @@ u64 btrfs_get_path_rootid(int fd)
ret = ioctl(fd, BTRFS_IOC_INO_LOOKUP, &args);
if (ret < 0) {
fprintf(stderr,
- "ERROR: can't perform the search -%s\n",
+ "ERROR: can't perform the search - %s\n",
strerror(errno));
return ret;
}
diff --git a/send-utils.c b/send-utils.c
index 71b6ec1528e5..cbaf2e90acb4 100644
--- a/send-utils.c
+++ b/send-utils.c
@@ -556,7 +556,7 @@ int subvol_uuid_search_init(int mnt_fd, struct subvol_uuid_search *s)
ret = is_uuid_tree_supported(mnt_fd);
if (ret < 0) {
fprintf(stderr,
- "ERROR: check if we support uuid tree fails- %s\n",
+ "ERROR: check if we support uuid tree fails - %s\n",
strerror(errno));
return 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);
e = errno;
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));
return ret;
}
--
2.1.3
reply other threads:[~2014-11-25 18:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1416941520-896-1-git-send-email-dsterba@suse.cz \
--to=dsterba@suse.cz \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).