diff options
-rw-r--r-- | source3/include/proto.h | 2 | ||||
-rw-r--r-- | source3/lib/afs_settoken.c | 2 | ||||
-rw-r--r-- | source3/modules/vfs_afsacl.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 010992de48..ec0571c409 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -46,7 +46,7 @@ char *afs_createtoken_str(const char *username, const char *cell); /* The following definitions come from lib/afs_settoken.c */ int afs_syscall( int subcall, - char * path, + const char * path, int cmd, char * cmarg, int follow); diff --git a/source3/lib/afs_settoken.c b/source3/lib/afs_settoken.c index c83093ff45..77d9ace3d3 100644 --- a/source3/lib/afs_settoken.c +++ b/source3/lib/afs_settoken.c @@ -35,7 +35,7 @@ #include <sys/syscall.h> int afs_syscall( int subcall, - char * path, + const char * path, int cmd, char * cmarg, int follow) diff --git a/source3/modules/vfs_afsacl.c b/source3/modules/vfs_afsacl.c index 00bad5c364..8923c62b4c 100644 --- a/source3/modules/vfs_afsacl.c +++ b/source3/modules/vfs_afsacl.c @@ -47,7 +47,7 @@ static char space_replacement = '%'; /* Do we expect SIDs as pts names? */ static bool sidpts; -extern int afs_syscall(int, char *, int, char *, int); +extern int afs_syscall(int, const char *, int, char *, int); struct afs_ace { bool positive; |