summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-08-29 14:53:01 +0000
committerMichael Adam <obnox@samba.org>2013-09-06 13:39:41 +0200
commit451cde7f2ab82ea500a69a6072b28991bf4e13a2 (patch)
treecc17b1cceb28ee5c60dd7ae9495c605fa367a59d /source3/smbd
parent1bf10ad806512979521336391c627275ffeae040 (diff)
downloadsamba-451cde7f2ab82ea500a69a6072b28991bf4e13a2.tar.gz
samba-451cde7f2ab82ea500a69a6072b28991bf4e13a2.tar.bz2
samba-451cde7f2ab82ea500a69a6072b28991bf4e13a2.zip
smbd: Fix a const warning
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/trans2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index e6bb12c42f..e02d64603c 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -3078,7 +3078,7 @@ NTSTATUS smbd_do_qfsinfo(connection_struct *conn,
const char *vname = volume_label(talloc_tos(), SNUM(conn));
int snum = SNUM(conn);
char *fstype = lp_fstype(talloc_tos(), SNUM(conn));
- char *filename = NULL;
+ const char *filename = NULL;
uint32 additional_flags = 0;
struct smb_filename smb_fname;
SMB_STRUCT_STAT st;