mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
Fix LD_PRELOAD syntax
From ld.so(8): The items of the list can be separated by spaces or colons...
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
@ -56,7 +56,7 @@ sysprof_preload_source_modify_spawn (SysprofSource *source,
|
||||
else
|
||||
sysprof_spawnable_setenv (spawnable,
|
||||
"LD_PRELOAD",
|
||||
(freeme = g_strdup_printf ("%s,%s", self->preload, ld_preload)));
|
||||
(freeme = g_strdup_printf ("%s:%s", self->preload, ld_preload)));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user