summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-07-08 01:40:35 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-07-08 01:40:35 +0000
commit363de3ca121b21a55457034648194f16fc2dc72f (patch)
tree0b62d578c80a6033fed1f85db92977a2e514d53f /source3/smbd
parentb2be8917e0af1883405cc190357b3e1e0ccd7683 (diff)
downloadsamba-363de3ca121b21a55457034648194f16fc2dc72f.tar.gz
samba-363de3ca121b21a55457034648194f16fc2dc72f.tar.bz2
samba-363de3ca121b21a55457034648194f16fc2dc72f.zip
Fix const warning
(This used to be commit 3d2f0635ed060fca0fa97c97ef850e57641aef19)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index c9433e15e2..8c6e8ed805 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -87,7 +87,7 @@ static void check_for_pipe(char *fname)
****************************************************************************/
static BOOL open_file(files_struct *fsp,connection_struct *conn,
- char *fname1,SMB_STRUCT_STAT *psbuf,int flags,mode_t mode, uint32 desired_access)
+ const char *fname1,SMB_STRUCT_STAT *psbuf,int flags,mode_t mode, uint32 desired_access)
{
extern struct current_user current_user;
pstring fname;