summaryrefslogtreecommitdiff
path: root/cmds-subvolume.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-subvolume.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-subvolume.c')
-rw-r--r--cmds-subvolume.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmds-subvolume.c b/cmds-subvolume.c
index 4cd2e0e..7384de4 100644
--- a/cmds-subvolume.c
+++ b/cmds-subvolume.c
@@ -923,10 +923,10 @@ static int cmd_subvol_show(int argc, char **argv)
ret = get_subvol_info(fullpath, &get_ri);
if (ret) {
if (ret < 0) {
- error("Failed to get subvol info %s: %s\n",
+ error("Failed to get subvol info %s: %s",
fullpath, strerror(-ret));
} else {
- error("Failed to get subvol info %s: %d\n",
+ error("Failed to get subvol info %s: %d",
fullpath, ret);
}
return ret;
@@ -1234,7 +1234,7 @@ static int cmd_subvol_sync(int argc, char **argv)
}
if (id < BTRFS_FIRST_FREE_OBJECTID
|| id > BTRFS_LAST_FREE_OBJECTID) {
- error("subvolume id %s out of range\n", arg);
+ error("subvolume id %s out of range", arg);
ret = 1;
goto out;
}