Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/5a80c0550a43
branches:  trunk
changeset: 512842:5a80c0550a43
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Jul 18 06:46:46 2001 +0000

description:
bcmp -> memcmp

diffstat:

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

diffs (18 lines):

diff -r e46b854ca2a7 -r 5a80c0550a43 sys/dev/raidframe/rf_raid1.c
--- a/sys/dev/raidframe/rf_raid1.c      Wed Jul 18 06:45:33 2001 +0000
+++ b/sys/dev/raidframe/rf_raid1.c      Wed Jul 18 06:46:46 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_raid1.c,v 1.6 2001/07/18 06:45:34 thorpej Exp $     */
+/*     $NetBSD: rf_raid1.c,v 1.7 2001/07/18 06:46:46 thorpej Exp $     */
 /*
  * Copyright (c) 1995 Carnegie-Mellon University.
  * All rights reserved.
@@ -435,7 +435,7 @@
                               raidPtr->raidid, nbytes, i, (long) buf1, 
                               (long) buf2, (long) buf);
                }
-               ret = bcmp(buf1, buf2, nbytes);
+               ret = memcmp(buf1, buf2, nbytes);
                if (ret) {
                        if (rf_verifyParityDebug > 1) {
                                for (j = 0; j < nbytes; j++) {



Home | Main Index | Thread Index | Old Index