mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-27 09:39:22 +00:00
Replace few instances of memcmp/memcpy in the code that should be grub_memcmp/grub_memcpy.
This commit is contained in:
1 parent
9706066791
commit
8063ce197f
5 files changed
+12
-7
No files matched your search
@@ -1082,7 +1082,7 @@ grub_netbsd_add_boot_disk_and_wedge (void)
|
||||
|
||||
grub_crypto_hash (GRUB_MD_MD5, hash,
|
||||
buf.raw, GRUB_DISK_SECTOR_SIZE);
|
||||
memcpy (biw.matchhash, hash, 16);
|
||||
grub_memcpy (biw.matchhash, hash, 16);
|
||||
|
||||
grub_bsd_add_meta (NETBSD_BTINFO_BOOTWEDGE, &biw, sizeof (biw));
|
||||
}
|
||||
@@ -1100,7 +1100,7 @@ grub_netbsd_add_boot_disk_and_wedge (void)
|
||||
bid.labelsector = partmapsector;
|
||||
bid.label.type = buf.label.type;
|
||||
bid.label.checksum = buf.label.checksum;
|
||||
memcpy (bid.label.packname, buf.label.packname, 16);
|
||||
grub_memcpy (bid.label.packname, buf.label.packname, 16);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user