* grub-core/lib/fdt.c: change memcpy => grub_memcpy

This commit is contained in:
Leif Lindholm 2013-12-10 16:46:46 +00:00
parent 0341da6019
commit 3f1423e789
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2013-12-10 Leif Lindholm <leif.lindholm@linaro.org>
* grub-core/lib/fdt.c: change memcpy => grub_memcpy
2013-12-09 Jon McCune <jonmccune@google.com>
* Add --no-rs-codes flag to optionally disable reed-solomon codes

View file

@ -219,8 +219,8 @@ static int rearrange_blocks (void *fdt, unsigned int clearance)
grub_fdt_set_off_dt_strings (fdt, off_dt_strings);
/* Copy reordered blocks back to fdt. */
memcpy (fdt_ptr + off_mem_rsvmap, tmp_fdt + off_mem_rsvmap,
grub_fdt_get_totalsize (fdt) - off_mem_rsvmap);
grub_memcpy (fdt_ptr + off_mem_rsvmap, tmp_fdt + off_mem_rsvmap,
grub_fdt_get_totalsize (fdt) - off_mem_rsvmap);
grub_free(tmp_fdt);
return 0;