diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2000-09-22 11:08:22 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2000-09-22 11:08:22 +0000 |
commit | 48af3464adb0f4e1d7572dca0420f509e588b497 (patch) | |
tree | 57812c619c3fedc1b9ac72451edd09303450322f /emulators/rtc/files/rtc.c | |
parent | Mark BROKEN: errors during install - probably a linux binary issue. (diff) |
Update for the latest current. (lminor() -> dev2unit())
Correct the startup script to unload rtc.ko module properly.
Notes
Notes:
svn path=/head/; revision=32996
Diffstat (limited to 'emulators/rtc/files/rtc.c')
-rw-r--r-- | emulators/rtc/files/rtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emulators/rtc/files/rtc.c b/emulators/rtc/files/rtc.c index 95681ce5bdc0..ff6899e3251b 100644 --- a/emulators/rtc/files/rtc.c +++ b/emulators/rtc/files/rtc.c @@ -115,7 +115,7 @@ rtc_attach(dev_t dev) struct rtc_softc *sc; int unit; - unit = lminor(dev); + unit = dev2unit(dev); DLog(Lenter, "%d %p", unit, dev); if (dev->si_drv1) { DLog(Lexit, "old %p, %p", dev, dev->si_drv1); |