diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-02-21 21:32:15 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-02-21 21:32:15 +0000 |
| commit | 816d62bbb948206731bba23727cd4746ffd987a0 (patch) | |
| tree | 3b153134583d6d3d0d078ae9b3fb771be33195be /sys/dev/cx | |
| parent | dc08ffec870569914f44bcf26aa838310e343764 (diff) | |
Notes
Diffstat (limited to 'sys/dev/cx')
| -rw-r--r-- | sys/dev/cx/if_cx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cx/if_cx.c b/sys/dev/cx/if_cx.c index 842348eb1f72..9a3acc28071f 100644 --- a/sys/dev/cx/if_cx.c +++ b/sys/dev/cx/if_cx.c @@ -3105,7 +3105,7 @@ static int cx_modevent (module_t mod, int type, void *unused) static int load_count = 0; struct cdevsw *cdsw; - dev = makedev (CDEV_MAJOR, 0); + dev = udev2dev (makeudev(CDEV_MAJOR, 0)); switch (type) { case MOD_LOAD: if ((cdsw = devsw (dev)) && cdsw->d_maj == CDEV_MAJOR) { |
