mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2025-02-02 17:31:10 +00:00
Fix solaris build break
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@476 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
910f68a5d4
commit
718478d95d
|
@ -651,7 +651,7 @@ bool DumpSymbols::WriteSymbolFile(const std::string &obj_file, int sym_fd) {
|
|||
return false;
|
||||
void *obj_base = mmap(NULL, st.st_size,
|
||||
PROT_READ, MAP_PRIVATE, obj_fd, 0);
|
||||
if (obj_base == MAP_FAILED))
|
||||
if (obj_base == MAP_FAILED)
|
||||
return false;
|
||||
MmapWrapper map_wrapper(obj_base, st.st_size);
|
||||
GElf_Ehdr elf_header;
|
||||
|
|
Loading…
Reference in a new issue