Add some const
authorVolker Lendecke <vl@samba.org>
Thu, 14 May 2009 09:47:09 +0000 (11:47 +0200)
committerVolker Lendecke <vl@samba.org>
Thu, 14 May 2009 10:15:10 +0000 (12:15 +0200)
source3/param/loadparm.c

index da0bf17..2ea3a16 100644 (file)
@@ -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 "