projects
/
freeradius.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
call rad_mkdir to make the path for the control socket, and modify the default config...
[freeradius.git]
/
src
/
main
/
log.c
diff --git
a/src/main/log.c
b/src/main/log.c
index
4c11f0e
..
fd51171
100644
(file)
--- a/
src/main/log.c
+++ b/
src/main/log.c
@@
-594,7
+594,7
@@
void vradlog_request(log_type_t type, log_lvl_t lvl, REQUEST *request, char cons
p = strrchr(buffer, FR_DIR_SEP);
if (p) {
*p = '\0';
- if (rad_mkdir(buffer, S_IRWXU) < 0) {
+ if (rad_mkdir(buffer, S_IRWXU
, -1, -1
) < 0) {
ERROR("Failed creating %s: %s", buffer, fr_syserror(errno));
return;
}