diff options
author | dd <dd@FreeBSD.org> | 2001-07-18 13:32:38 +0000 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2001-07-18 13:32:38 +0000 |
commit | 896862fbe23c6710637724ffc27258bf2dbf9421 (patch) | |
tree | 35acca461d4e32fd744bb71f0a61e57376a9175c /sys | |
parent | f5302392d3514b93dafbfcb158356a3d1629f737 (diff) | |
download | FreeBSD-src-896862fbe23c6710637724ffc27258bf2dbf9421.zip FreeBSD-src-896862fbe23c6710637724ffc27258bf2dbf9421.tar.gz |
Use MD_NAME and MDCTL_NAME constants where appropriate.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/md/md.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c index f8e6a18..79c9587 100644 --- a/sys/dev/md/md.c +++ b/sys/dev/md/md.c @@ -898,7 +898,8 @@ md_drvinit(void *unused) mdunits, name, len, ptr); md_preloaded(ptr, len); } - status_dev = make_dev(&mdctl_cdevsw, 0xffff00ff, UID_ROOT, GID_WHEEL, 0600, "mdctl"); + status_dev = make_dev(&mdctl_cdevsw, 0xffff00ff, UID_ROOT, GID_WHEEL, + 0600, MDCTL_NAME); } static int @@ -922,7 +923,7 @@ md_modevent(module_t mod, int type, void *data) } static moduledata_t md_mod = { - "md", + MD_NAME, md_modevent, NULL }; |