summaryrefslogtreecommitdiffstats
path: root/sesman/sesman.c
diff options
context:
space:
mode:
Diffstat (limited to 'sesman/sesman.c')
-rw-r--r--sesman/sesman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sesman/sesman.c b/sesman/sesman.c
index 98346ea8..fd98370c 100644
--- a/sesman/sesman.c
+++ b/sesman/sesman.c
@@ -418,7 +418,7 @@ main(int argc, char **argv)
"starting xrdp-sesman with pid %d", g_pid);
/* make sure the socket directory exists */
- g_mk_temp_dir("xrdp-sesman");
+ g_mk_socket_path("xrdp-sesman");
/* make sure the /tmp/.X11-unix directory exists */
if (!g_directory_exist("/tmp/.X11-unix"))