diff options
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/syscons/syscons.c | 4 | ||||
-rw-r--r-- | sys/dev/syscons/sysmouse.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c index 3c7eb23..a4e5d8b 100644 --- a/sys/dev/syscons/syscons.c +++ b/sys/dev/syscons/syscons.c @@ -475,8 +475,8 @@ scopen(struct cdev *dev, int flag, int mode, struct thread *td) #endif int error; - DPRINTF(5, ("scopen: dev:%d,%d, unit:%d, vty:%d\n", - major(dev), minor(dev), unit, SC_VTY(dev))); + DPRINTF(5, ("scopen: dev:%s, unit:%d, vty:%d\n", + devtoname(dev), unit, SC_VTY(dev))); tp = dev->si_tty; sc = sc_get_softc(unit, (sc_console_unit == unit) ? SC_KERNEL_CONSOLE : 0); diff --git a/sys/dev/syscons/sysmouse.c b/sys/dev/syscons/sysmouse.c index 4f660e0..0f6cec5 100644 --- a/sys/dev/syscons/sysmouse.c +++ b/sys/dev/syscons/sysmouse.c @@ -70,8 +70,8 @@ smopen(struct cdev *dev, int flag, int mode, struct thread *td) { struct tty *tp; - DPRINTF(5, ("smopen: dev:%d,%d, vty:%d\n", - major(dev), minor(dev), SC_VTY(dev))); + DPRINTF(5, ("smopen: dev:%s, vty:%d\n", + devtoname(dev), SC_VTY(dev))); #if 0 if (SC_VTY(dev) != SC_MOUSE) |