memprof: fix joining of LD_PRELOAD

This commit is contained in:
Christian Hergert
2020-03-13 15:19:18 -07:00
parent 390c5cde18
commit f3d6bd3ed3

View File

@ -49,7 +49,7 @@ sysprof_memprof_source_modify_spawn (SysprofSource *source,
else
sysprof_spawnable_setenv (spawnable,
"LD_PRELOAD",
(freeme = g_strdup_printf ("%s:%s", so_path, ld_preload)));
(freeme = g_strdup_printf ("%s,%s", so_path, ld_preload)));
}
#endif
}