mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
binfile: fix path check
This commit is contained in:
@ -358,7 +358,7 @@ bin_file_new (const char *filename,
|
||||
ElfParser *elf = NULL;
|
||||
bin_file_t *bf;
|
||||
|
||||
if (g_str_has_prefix (filename, "/var/run/host"))
|
||||
if (g_str_has_prefix (filename, "/var/run/host/"))
|
||||
real_filename = filename + strlen ("/var/run/host");
|
||||
|
||||
bf = g_new0 (bin_file_t, 1);
|
||||
|
||||
Reference in New Issue
Block a user