aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/modules/md/Makefile2
-rw-r--r--sys/sys/mdioctl.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/sys/modules/md/Makefile b/sys/modules/md/Makefile
index 6ca6dbfe6f23..3f0654fbbe63 100644
--- a/sys/modules/md/Makefile
+++ b/sys/modules/md/Makefile
@@ -2,7 +2,7 @@
.PATH: ${.CURDIR}/../../dev/md
-KMOD= md
+KMOD= g_md
SRCS= md.c opt_md.h opt_geom.h vnode_if.h
.include <bsd.kmod.mk>
diff --git a/sys/sys/mdioctl.h b/sys/sys/mdioctl.h
index e02a82b5114d..4243f49e18ea 100644
--- a/sys/sys/mdioctl.h
+++ b/sys/sys/mdioctl.h
@@ -65,6 +65,7 @@ struct md_ioctl {
};
#define MD_NAME "md"
+#define MD_MODNAME "g_md"
#define MDCTL_NAME "mdctl"
#define MDIOVERSION 0