summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew McGillis <matthew@mcgillis.org>2010-05-02 18:08:02 -0700
committerVolker Lendecke <vl@samba.org>2010-05-03 08:06:56 +0200
commit0a8b2b2119e40e72764f6a47f85007d6c0029849 (patch)
treeff0ee942332c7773c79f1497fd92ac0c78259f37
parentd83850abe2c393352ec65c32b3bcec7c33be7cd0 (diff)
downloadsamba-0a8b2b2119e40e72764f6a47f85007d6c0029849.tar.gz
samba-0a8b2b2119e40e72764f6a47f85007d6c0029849.tar.bz2
samba-0a8b2b2119e40e72764f6a47f85007d6c0029849.zip
always pass filename as const char
-rw-r--r--source3/utils/smbcacls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c
index e1e37ae46c..ac68adc021 100644
--- a/source3/utils/smbcacls.c
+++ b/source3/utils/smbcacls.c
@@ -661,7 +661,7 @@ static void sec_desc_print(struct cli_state *cli, FILE *f, SEC_DESC *sd)
/*****************************************************
dump the acls for a file
*******************************************************/
-static int cacl_dump(struct cli_state *cli, char *filename)
+static int cacl_dump(struct cli_state *cli, const char *filename)
{
int result = EXIT_FAILED;
uint16_t fnum = (uint16_t)-1;
@@ -818,7 +818,7 @@ static void sort_acl(SEC_ACL *the_acl)
set the ACLs on a file given an ascii description
*******************************************************/
-static int cacl_set(struct cli_state *cli, char *filename,
+static int cacl_set(struct cli_state *cli, const char *filename,
char *the_acl, enum acl_mode mode)
{
uint16_t fnum;