summaryrefslogtreecommitdiff
path: root/cmds-send.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-10-28 18:47:35 +0200
committerDavid Sterba <dsterba@suse.com>2016-12-14 15:06:34 +0100
commit86d2e4b64b2aacbf4b0c610d06375a01233c5bc4 (patch)
tree6fad501f607026600cb1414a56a345b64b902b08 /cmds-send.c
parenta2883ea16d15ce02c3279f835736e5072dd6e709 (diff)
btrfs-progs: remove extra newline from messages
The common message helpers add the newline. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'cmds-send.c')
-rw-r--r--cmds-send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds-send.c b/cmds-send.c
index 1ca4b8e4..cae600e4 100644
--- a/cmds-send.c
+++ b/cmds-send.c
@@ -236,7 +236,7 @@ static void *dump_thread(void *arg)
rbytes = read(sctx->send_fd, buf, sizeof(buf));
if (rbytes < 0) {
ret = -errno;
- error("failed to read stream from kernel: %s\n",
+ error("failed to read stream from kernel: %s",
strerror(-ret));
goto out;
}