diff options
author | sheldonh <sheldonh@FreeBSD.org> | 2000-07-17 13:13:04 +0000 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 2000-07-17 13:13:04 +0000 |
commit | 263ffe32d13445d7647ddc4ebdb26e361e142020 (patch) | |
tree | f11084e65236395673690502b8b9e4186992b0b5 /sys/dev/md | |
parent | c633746aa6dbaa895bff3682cd0c909143dcc677 (diff) | |
download | FreeBSD-src-263ffe32d13445d7647ddc4ebdb26e361e142020.zip FreeBSD-src-263ffe32d13445d7647ddc4ebdb26e361e142020.tar.gz |
Rename MDNSECT to MD_NSECT and declare it as something that isn't
default in NOTES.
Requested by: bde
Approved by: phk
Diffstat (limited to 'sys/dev/md')
-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 1a89214..725b407 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; |