summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-05-14 11:47:09 +0200
committerVolker Lendecke <vl@samba.org>2009-05-14 12:15:10 +0200
commit9c23115cb887cfb8b872b4a28da9d54f44aad5af (patch)
tree2fa8e9d56712a5a71c90d7beb6a2c032d9eeeb91
parent979f13b19e7558267529c42d4ca7e4373a78798e (diff)
downloadsamba-9c23115cb887cfb8b872b4a28da9d54f44aad5af.tar.gz
samba-9c23115cb887cfb8b872b4a28da9d54f44aad5af.tar.bz2
samba-9c23115cb887cfb8b872b4a28da9d54f44aad5af.zip
Add some const
-rw-r--r--source3/param/loadparm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index da0bf17720..2ea3a167b7 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -8323,7 +8323,8 @@ static void set_allowed_client_auth(void)
get their sorry ass fired.
***************************************************************************/
-static bool check_usershare_stat(const char *fname, SMB_STRUCT_STAT *psbuf)
+static bool check_usershare_stat(const char *fname,
+ const SMB_STRUCT_STAT *psbuf)
{
if (!S_ISREG(psbuf->st_mode)) {
DEBUG(0,("check_usershare_stat: file %s owned by uid %u is "