]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
*sigh* the real issue is path is not const
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 22 Oct 2022 17:00:29 +0000 (13:00 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 22 Oct 2022 17:00:29 +0000 (13:00 -0400)
src/lib/util/file.c

index d167aebf1f080ae910c77658fa2a5f9da3437a8e..de86c55d6af31399f8fc456cd9090c34be25f4f9 100644 (file)
@@ -33,10 +33,10 @@ RCSID("$Id$")
 #include <freeradius-devel/util/syserror.h>
 #include <freeradius-devel/util/value.h>
 
-static ssize_t _fr_mkdir(int *fd_out, char const *path, mode_t mode, fr_mkdir_func_t func, void *uctx)
+static ssize_t _fr_mkdir(int *fd_out, char *path, mode_t mode, fr_mkdir_func_t func, void *uctx)
 {
        int             ret, fd;
-       char const      *p = path;
+       char            *p = path;
 
        /*
         *      Try to make the path.  If it exists, chmod it.