summaryrefslogtreecommitdiff
path: root/cmds-send.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmds-send.c')
-rw-r--r--cmds-send.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds-send.c b/cmds-send.c
index 2a8a697a..6846b189 100644
--- a/cmds-send.c
+++ b/cmds-send.c
@@ -251,7 +251,7 @@ out:
}
static int do_send(struct btrfs_send *send, u64 parent_root_id,
- int is_first_subvol, int is_last_subvol, char *subvol,
+ int is_first_subvol, int is_last_subvol, const char *subvol,
u64 flags)
{
int ret;
@@ -378,7 +378,7 @@ out:
}
-static int is_subvol_ro(struct btrfs_send *s, char *subvol)
+static int is_subvol_ro(struct btrfs_send *s, const char *subvol)
{
int ret;
u64 flags;