diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2001-05-28 16:12:55 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2001-05-28 16:12:55 +0000 |
| commit | 507fbee0ad43d9e5300860a63dfd2ce3cb892794 (patch) | |
| tree | a1ddf24a8e02dab5f4dc53bfdb298097a2e8609f /sys/kern/subr_disk.c | |
| parent | abb1dad13984ea24df1269fb6da39124851fb06f (diff) | |
Notes
Diffstat (limited to 'sys/kern/subr_disk.c')
| -rw-r--r-- | sys/kern/subr_disk.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c index 3ac95257f9fb..6d5a44cd3635 100644 --- a/sys/kern/subr_disk.c +++ b/sys/kern/subr_disk.c @@ -124,6 +124,7 @@ disk_create(int unit, struct disk *dp, int flags, struct cdevsw *cdevsw, struct proto->d_ioctl = diskioctl; proto->d_strategy = diskstrategy; proto->d_psize = diskpsize; + cdevsw_add(proto); } if (bootverbose) |
