summaryrefslogtreecommitdiffstats
path: root/share/man/man9/DEV_MODULE.9
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2012-01-19 09:51:07 +0000
committered <ed@FreeBSD.org>2012-01-19 09:51:07 +0000
commitea418e7d74ca6f7d3f1b25f6adc283124297c9d0 (patch)
tree52977cc2e3dd6d255c2f77c44c0ccd2b4616e6ef /share/man/man9/DEV_MODULE.9
parentc20448129b36056dbb4c37dd589d47f53db69c34 (diff)
downloadFreeBSD-src-ea418e7d74ca6f7d3f1b25f6adc283124297c9d0.zip
FreeBSD-src-ea418e7d74ca6f7d3f1b25f6adc283124297c9d0.tar.gz
Remove remnants of dev_t.
These functions take a `struct cdev *' -- not a dev_t. Inside the kernel, dev_t has the same use as in userspace, namely to store a device identifier. MFC after: 2 weeks
Diffstat (limited to 'share/man/man9/DEV_MODULE.9')
-rw-r--r--share/man/man9/DEV_MODULE.94
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man9/DEV_MODULE.9 b/share/man/man9/DEV_MODULE.9
index 13a81c1..28465b3 100644
--- a/share/man/man9/DEV_MODULE.9
+++ b/share/man/man9/DEV_MODULE.9
@@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd March 11, 2001
+.Dd January 19, 2012
.Dt DEV_MODULE 9
.Os
.Sh NAME
@@ -68,7 +68,7 @@ on load and to destroy it when it is unloaded using
static struct cdevsw foo_devsw = { ... };
-static dev_t sdev;
+static struct cdev *sdev;
static int
foo_load(module_t mod, int cmd, void *arg)
OpenPOWER on IntegriCloud