From 6c248b757c03ab0dfcf2697631bcf4a5a52b10b8 Mon Sep 17 00:00:00 2001 From: thorpej Date: Sat, 7 Jul 2001 16:50:41 +0000 Subject: [PATCH] bcmp -> memcmp --- sys/dev/pcmcia/if_xi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/pcmcia/if_xi.c b/sys/dev/pcmcia/if_xi.c index 7ee8bfe70498..c110f8bf012d 100644 --- a/sys/dev/pcmcia/if_xi.c +++ b/sys/dev/pcmcia/if_xi.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_xi.c,v 1.12 2001/07/07 16:50:14 thorpej Exp $ */ +/* $NetBSD: if_xi.c,v 1.13 2001/07/07 16:50:41 thorpej Exp $ */ /* OpenBSD: if_xe.c,v 1.9 1999/09/16 11:28:42 niklas Exp */ /* @@ -1539,7 +1539,7 @@ xi_set_address(sc) pos = IA + 6; for (page = 0x50, num = ether->ec_multicnt; num > 0 && enm; num--) { - if (bcmp(enm->enm_addrlo, enm->enm_addrhi, + if (memcmp(enm->enm_addrlo, enm->enm_addrhi, sizeof(enm->enm_addrlo)) != 0) { /* * The multicast address is really a range;