summaryrefslogtreecommitdiff
path: root/cmds-send.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmds-send.c')
-rw-r--r--cmds-send.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmds-send.c b/cmds-send.c
index 0e5bb544..9ec52dcd 100644
--- a/cmds-send.c
+++ b/cmds-send.c
@@ -349,9 +349,10 @@ static int init_root_path(struct btrfs_send *s, const char *subvol)
ret = find_mount_root(subvol, &s->root_path);
if (ret < 0) {
+ fprintf(stderr,
+ "ERROR: failed to determine mount point for %s: %s\n",
+ subvol, strerror(-ret));
ret = -EINVAL;
- fprintf(stderr, "ERROR: failed to determine mount point "
- "for %s\n", subvol);
goto out;
}