summaryrefslogtreecommitdiff
path: root/sys/dev/si
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1999-05-08 07:02:41 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1999-05-08 07:02:41 +0000
commit1637aa4b1cc600e66276de2f474a9a6d5cdb0ef7 (patch)
treeccd9f176822ca69c44d49f50176220c3f73d6feb /sys/dev/si
parentcb40a67f2b40b850bbb2b920ce52cf90cc9f9faf (diff)
Notes
Diffstat (limited to 'sys/dev/si')
-rw-r--r--sys/dev/si/si.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/si/si.c b/sys/dev/si/si.c
index 52f672b2d20d..8cdef5c1d124 100644
--- a/sys/dev/si/si.c
+++ b/sys/dev/si/si.c
@@ -30,7 +30,7 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHORS BE LIABLE.
*
- * $Id: si.c,v 1.82 1999/04/28 10:52:52 dt Exp $
+ * $Id: si.c,v 1.83 1999/05/02 20:35:44 peter Exp $
*/
#ifndef lint
@@ -2751,8 +2751,8 @@ si_dprintf(pp, flags, fmt, va_alist)
(pp != NULL && ((pp->sp_debug&flags) || (si_debug&flags)))) {
if (pp != NULL)
printf("%ci%d(%d): ", 's',
- (int)SI_CARD(pp->sp_tty->t_dev),
- (int)SI_PORT(pp->sp_tty->t_dev));
+ (int)SI_CARD(minor(pp->sp_tty->t_dev)),
+ (int)SI_PORT(minor(pp->sp_tty->t_dev)));
va_start(ap, fmt);
vprintf(fmt, ap);
va_end(ap);