diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2005-03-31 12:19:44 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2005-03-31 12:19:44 +0000 |
| commit | f4f6abcb4ea1f4c91714febe157d0eaaf3e236ec (patch) | |
| tree | 3f79498c2fd283a3ff468ae4f9116e9f395f4fa7 /sys/dev/nmdm | |
| parent | c06ac233d78fbc49619252994ff0fcdafc623125 (diff) | |
Notes
Diffstat (limited to 'sys/dev/nmdm')
| -rw-r--r-- | sys/dev/nmdm/nmdm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/nmdm/nmdm.c b/sys/dev/nmdm/nmdm.c index cd3b5f372b5a..e61a05f5fa0f 100644 --- a/sys/dev/nmdm/nmdm.c +++ b/sys/dev/nmdm/nmdm.c @@ -147,6 +147,7 @@ nmdm_clone(void *arg, char *name, int nameen, struct cdev **dev) *dev = d1->si_drv2; else *dev = d1; + dev_ref(*dev); } static void |
