aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>2000-07-17 13:13:04 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>2000-07-17 13:13:04 +0000
commitf274479332fd8fe2f5aaf9ee55e388d6b1f46745 (patch)
tree8cab247e7fb31b69d9d15dd8528df9b6d71b6361 /sys/dev
parentfeeff035912cfa537aa421ca237c2d64b6274f94 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/md/md.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c
index 1a8921402051..725b4078199d 100644
--- a/sys/dev/md/md.c
+++ b/sys/dev/md/md.c
@@ -24,8 +24,8 @@
#include <sys/sysctl.h>
#include <sys/linker.h>
-#ifndef MDNSECT
-#define MDNSECT (10000 * 2)
+#ifndef MD_NSECT
+#define MD_NSECT (10000 * 2)
#endif
MALLOC_DEFINE(M_MD, "MD disk", "Memory Disk");
@@ -381,7 +381,7 @@ mdcreate_malloc(void)
sc = mdcreate();
sc->type = MD_MALLOC;
- sc->nsect = MDNSECT; /* for now */
+ sc->nsect = MD_NSECT; /* for now */
MALLOC(sc->secp, u_char **, sizeof(u_char *), M_MD, M_WAITOK);
bzero(sc->secp, sizeof(u_char *));
sc->nsecp = 1;