mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3-modules: fix build warning in vfs shadow copy2 module
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Sun Sep 25 16:42:30 CEST 2016 on sn-devel-144
This commit is contained in:
parent
631e063f6b
commit
dc1754937f
@ -194,7 +194,7 @@ static bool shadow_copy2_update_snaplist(struct vfs_handle_struct *handle,
|
||||
* time.
|
||||
*/
|
||||
if (seconds > 0 || (priv->snaps->snaplist == NULL)) {
|
||||
smb_fname.base_name = ".";
|
||||
smb_fname.base_name = discard_const_p(char, ".");
|
||||
fsp.fsp_name = &smb_fname;
|
||||
|
||||
ret = shadow_copy2_get_shadow_copy_data(handle, &fsp,
|
||||
|
Loading…
Reference in New Issue
Block a user