1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

param: add const to a local variable to prevent a warning about lp_fstype

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Change-Id: Idc9217eb812b018fed933f84c2c4f1818f8f9372
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Nadezhda Ivanova <nivanova@samba.org>
This commit is contained in:
Garming Sam 2014-02-14 10:38:55 +13:00 committed by Andrew Bartlett
parent 8246e53bb6
commit 0c8e9cc757

View File

@ -3077,7 +3077,7 @@ NTSTATUS smbd_do_qfsinfo(connection_struct *conn,
int data_len = 0, len;
const char *vname = volume_label(talloc_tos(), SNUM(conn));
int snum = SNUM(conn);
char *fstype = lp_fstype(SNUM(conn));
const char *fstype = lp_fstype(SNUM(conn));
const char *filename = NULL;
uint32 additional_flags = 0;
struct smb_filename smb_fname;