diff options
author | David Sterba <dsterba@suse.com> | 2016-10-28 18:47:35 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-12-14 15:06:34 +0100 |
commit | 86d2e4b64b2aacbf4b0c610d06375a01233c5bc4 (patch) | |
tree | 6fad501f607026600cb1414a56a345b64b902b08 /cmds-restore.c | |
parent | a2883ea16d15ce02c3279f835736e5072dd6e709 (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-restore.c')
-rw-r--r-- | cmds-restore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds-restore.c b/cmds-restore.c index a8c67a51..bdd35bd7 100644 --- a/cmds-restore.c +++ b/cmds-restore.c @@ -330,7 +330,7 @@ static int copy_one_extent(struct btrfs_root *root, int fd, inbuf = malloc(size_left); if (!inbuf) { - error("not enough memory\n"); + error("not enough memory"); return -ENOMEM; } @@ -486,7 +486,7 @@ static int set_file_xattrs(struct btrfs_root *root, u64 inode, do { ret = next_leaf(root, &path); if (ret < 0) { - error("searching for extended attributes: %d\n", + error("searching for extended attributes: %d", ret); goto out; } else if (ret) { |