From: Arran Cudbard-Bell Date: Sat, 22 Oct 2022 16:51:11 +0000 (-0400) Subject: const X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bdaa42a06a1737f34c69fbb8999a70319f8cb95;p=thirdparty%2Ffreeradius-server.git const --- diff --git a/src/lib/util/file.c b/src/lib/util/file.c index c97b7ef1d2d..d167aebf1f0 100644 --- a/src/lib/util/file.c +++ b/src/lib/util/file.c @@ -35,8 +35,8 @@ RCSID("$Id$") static ssize_t _fr_mkdir(int *fd_out, char const *path, mode_t mode, fr_mkdir_func_t func, void *uctx) { - int ret, fd; - char *p = path; + int ret, fd; + char const *p = path; /* * Try to make the path. If it exists, chmod it.