summaryrefslogtreecommitdiff
path: root/cmds-subvolume.c
diff options
context:
space:
mode:
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 4cd2e0ec..7384de45 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;
}