summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/ia64/efi.c2
-rw-r--r--sys/ia64/ia64/sal.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/ia64/ia64/efi.c b/sys/ia64/ia64/efi.c
index a10c208..161572d 100644
--- a/sys/ia64/ia64/efi.c
+++ b/sys/ia64/ia64/efi.c
@@ -106,7 +106,7 @@ efi_get_table(struct uuid *uuid)
count = efi_systbl->st_entries;
ct = efi_cfgtbl;
while (count--) {
- if (!memcmp(&ct->ct_uuid, uuid, sizeof(*uuid)))
+ if (!bcmp(&ct->ct_uuid, uuid, sizeof(*uuid)))
return ((void *)IA64_PHYS_TO_RR7(ct->ct_data));
ct++;
}
diff --git a/sys/ia64/ia64/sal.c b/sys/ia64/ia64/sal.c
index 251c1ee..6a55f39 100644
--- a/sys/ia64/ia64/sal.c
+++ b/sys/ia64/ia64/sal.c
@@ -96,7 +96,7 @@ ia64_sal_init(void)
if (sal_systbl == NULL)
return;
- if (memcmp(sal_systbl->sal_signature, SAL_SIGNATURE, 4)) {
+ if (bcmp(sal_systbl->sal_signature, SAL_SIGNATURE, 4)) {
printf("Bad signature for SAL System Table\n");
return;
}
OpenPOWER on IntegriCloud