Fix shm open race
[lttng-ust.git] / include / lttng-ust-comm.h
index f06872b1bdb6ef2cebc4588bbbfcbc82da3410dc..a5220a436bc6e13d06bbc3a663fead7bea842549 100644 (file)
@@ -47,7 +47,7 @@
 #define DEFAULT_HOME_CLIENT_UNIX_SOCK       "%s/.client-ltt-sessiond"
 
 #define DEFAULT_GLOBAL_APPS_WAIT_SHM_PATH   "/lttng-ust-apps-wait"
-#define DEFAULT_HOME_APPS_WAIT_SHM_PATH     "/%u-lttng-ust-apps-wait"
+#define DEFAULT_HOME_APPS_WAIT_SHM_PATH     "/lttng-ust-apps-wait-%u"
 
 /* Queue size of listen(2) */
 #define MAX_LISTEN 10
This page took 0.025829 seconds and 4 git commands to generate.