summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-03-03 20:12:37 +0000
committerJeremy Allison <jra@samba.org>2003-03-03 20:12:37 +0000
commit28074d957aa7ee5b4df60e2e553ba1212f217572 (patch)
tree70d423df0083b2a1b1a18614c68c49de932bb0db /source3
parent52d1dd46d2f26e4f81a6b307e8139ed379af1920 (diff)
downloadsamba-28074d957aa7ee5b4df60e2e553ba1212f217572.tar.gz
samba-28074d957aa7ee5b4df60e2e553ba1212f217572.tar.bz2
samba-28074d957aa7ee5b4df60e2e553ba1212f217572.zip
Const warning fixes.
Jeremy. (This used to be commit 30e8ae8e030b5dccaef9612dca24907be547acdf)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/vfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c
index 6574a34eaa..533c64b229 100644
--- a/source3/smbd/vfs.c
+++ b/source3/smbd/vfs.c
@@ -636,7 +636,7 @@ static BOOL handle_vfs_option(char *pszParmValue, char **ptr)
A wrapper for vfs_chdir().
********************************************************************/
-int vfs_ChDir(connection_struct *conn, char *path)
+int vfs_ChDir(connection_struct *conn, const char *path)
{
int res;
static pstring LastDir="";
@@ -784,7 +784,7 @@ char *vfs_GetWd(connection_struct *conn, char *path)
/* check if the file 'nmae' is a symlink, in that case check that it point to
a file that reside under the 'dir' tree */
-static BOOL readlink_check(connection_struct *conn, char *dir, char *name)
+static BOOL readlink_check(connection_struct *conn, const char *dir, char *name)
{
BOOL ret = True;
pstring flink;