Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pcmcia bcmp -> memcmp



details:   https://anonhg.NetBSD.org/src/rev/99fae9c8c81b
branches:  trunk
changeset: 512207:99fae9c8c81b
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat Jul 07 16:50:41 2001 +0000

description:
bcmp -> memcmp

diffstat:

 sys/dev/pcmcia/if_xi.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 47e79db503fe -r 99fae9c8c81b sys/dev/pcmcia/if_xi.c
--- a/sys/dev/pcmcia/if_xi.c    Sat Jul 07 16:50:14 2001 +0000
+++ b/sys/dev/pcmcia/if_xi.c    Sat Jul 07 16:50:41 2001 +0000
@@ -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 @@
                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;



Home | Main Index | Thread Index | Old Index