diff options
Diffstat (limited to 'sys/dev/md/md.c')
| -rw-r--r-- | sys/dev/md/md.c | 6 |
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; |
