diff options
author | phk <phk@FreeBSD.org> | 2005-02-27 21:16:26 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2005-02-27 21:16:26 +0000 |
commit | 64e311f3f8f507d89a544219fd0928f3b824c2ea (patch) | |
tree | 9f91aba7f4622722e3c94741ea86592dd8d6a636 /sys/dev/syscons/sysmouse.c | |
parent | 45fc09dc07feb26d9e48db8b8f0a2167c6ec55a6 (diff) | |
download | FreeBSD-src-64e311f3f8f507d89a544219fd0928f3b824c2ea.zip FreeBSD-src-64e311f3f8f507d89a544219fd0928f3b824c2ea.tar.gz |
Remove debug printout of major/minor numbers, print name instead.
Diffstat (limited to 'sys/dev/syscons/sysmouse.c')
-rw-r--r-- | sys/dev/syscons/sysmouse.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |