1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-12-23 03:53:43 +01:00

Fix freebsd build

This commit is contained in:
Konstantin Belousov 2010-05-17 21:57:59 +03:00
parent 8ee7b1762e
commit 298e575f2c

View file

@ -89,7 +89,7 @@ tdep_get_elf_image (struct elf_image *ei, pid_t pid, unw_word_t ip,
*mapoff = kv->kve_offset;
if (path)
{
strncpy(path, kb->kve_path, pathlen);
strncpy(path, kv->kve_path, pathlen);
}
ret = elf_map_image(ei, kv->kve_path);
break;