]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs_fruit: let fruit_get_num_bands() take bundle as const
authorRalph Boehme <slow@samba.org>
Thu, 19 Mar 2020 11:39:44 +0000 (12:39 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 24 Mar 2020 19:48:40 +0000 (19:48 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_fruit.c

index 29282b429e8d7839e1ff37207de6dbb1eb8c2632..71767e02e456efc378e5ed274330185bd74d220b 100644 (file)
@@ -4788,7 +4788,7 @@ struct fruit_disk_free_state {
 };
 
 static bool fruit_get_num_bands(vfs_handle_struct *handle,
-                               char *bundle,
+                               const char *bundle,
                                size_t *_nbands)
 {
        char *path = NULL;