smbd: Fix a const warning
authorVolker Lendecke <vl@samba.org>
Thu, 29 Aug 2013 14:53:01 +0000 (14:53 +0000)
committerMichael Adam <obnox@samba.org>
Fri, 6 Sep 2013 11:39:41 +0000 (13:39 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/smbd/trans2.c

index e6bb12c42fd5935df1194cc28e44edf7fec75d89..e02d64603c40df54b50ddfd1ac625560dbb2eaa5 100644 (file)
@@ -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;