Replace few instances of memcmp/memcpy in the code that should be grub_memcmp/grub_memcpy.

This commit is contained in:
Vladimir Serbinenko 2014-04-04 07:58:42 +02:00
parent 9706066791
commit 8063ce197f
5 changed files with 12 additions and 7 deletions

View file

@ -652,7 +652,7 @@ malloc_in_range (struct grub_relocator *rel,
for (i = 0; i < (BITS_IN_BYTE * sizeof (grub_addr_t) / DIGITSORT_BITS);
i++)
{
memset (counter, 0, (1 + (1 << DIGITSORT_BITS)) * sizeof (counter[0]));
grub_memset (counter, 0, (1 + (1 << DIGITSORT_BITS)) * sizeof (counter[0]));
for (j = 0; j < N; j++)
counter[((events[j].pos >> (DIGITSORT_BITS * i))
& DIGITSORT_MASK) + 1]++;