diff options
Diffstat (limited to 'sys/dev/usb/ufm.c')
-rw-r--r-- | sys/dev/usb/ufm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/ufm.c b/sys/dev/usb/ufm.c index 9eaf49720..2635827 100644 --- a/sys/dev/usb/ufm.c +++ b/sys/dev/usb/ufm.c @@ -96,7 +96,7 @@ struct ufm_softc { int sc_refcnt; }; -#define UFMUNIT(n) (minor(n)) +#define UFMUNIT(n) (dev2unit(n)) static device_probe_t ufm_match; static device_attach_t ufm_attach; |