summaryrefslogtreecommitdiff
path: root/src/shared/socket-label.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/socket-label.c')
-rw-r--r--src/shared/socket-label.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/socket-label.c b/src/shared/socket-label.c
index 5158beeda8..ff212de825 100644
--- a/src/shared/socket-label.c
+++ b/src/shared/socket-label.c
@@ -106,7 +106,7 @@ int socket_address_listen(
mode_t old_mask;
/* Create parents */
- mkdir_parents(a->sockaddr.un.sun_path, directory_mode);
+ mkdir_parents_label(a->sockaddr.un.sun_path, directory_mode);
/* Enforce the right access mode for the socket*/
old_mask = umask(~ socket_mode);