summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2001-07-18 06:46:46 +0000
committerthorpej <thorpej@NetBSD.org>2001-07-18 06:46:46 +0000
commit228b23427f885a5c74d20fbe2603b1dd2c60f23c (patch)
tree4fe0b72fe552c16e4c985ef11609009d35098cbe /sys/dev/raidframe
parentcf56c44a86ea6c9a5a196dd9d0e2270d0da52e69 (diff)
bcmp -> memcmp
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_raid1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_raid1.c b/sys/dev/raidframe/rf_raid1.c
index ee216055d10..f50a54beb27 100644
--- a/sys/dev/raidframe/rf_raid1.c
+++ b/sys/dev/raidframe/rf_raid1.c
@@ -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 @@ rf_VerifyParityRAID1(
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++) {