Add missing grub_ prefix in memcpy invocation
This commit is contained in:
parent
2066c35b3f
commit
7ea452a142
2 changed files with 2 additions and 2 deletions
|
@ -340,7 +340,7 @@ grub_dl_resolve_symbols (grub_dl_t mod, Elf_Ehdr *e)
|
|||
mod->symtab = grub_malloc (s->sh_size);
|
||||
if (!mod->symtab)
|
||||
return grub_errno;
|
||||
memcpy (mod->symtab, (char *) e + s->sh_offset, s->sh_size);
|
||||
grub_memcpy (mod->symtab, (char *) e + s->sh_offset, s->sh_size);
|
||||
#else
|
||||
mod->symtab = (Elf_Sym *) ((char *) e + s->sh_offset);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue