From 48af3464adb0f4e1d7572dca0420f509e588b497 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Fri, 22 Sep 2000 11:08:22 +0000 Subject: Update for the latest current. (lminor() -> dev2unit()) Correct the startup script to unload rtc.ko module properly. --- emulators/rtc/files/rtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emulators/rtc/files/rtc.c') 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); -- cgit v1.2.3