diff options
author | phk <phk@FreeBSD.org> | 1999-05-08 07:02:41 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-05-08 07:02:41 +0000 |
commit | bac74fbd5437e3b09bdcbbe1a58698e0fc6aab8b (patch) | |
tree | 64550e00285b8b98137f77e0130d6b4285790397 /sys/i386/isa/si.c | |
parent | 31167e1a820f19bcb6a06bf97cbead60ae7105d6 (diff) | |
download | FreeBSD-src-bac74fbd5437e3b09bdcbbe1a58698e0fc6aab8b.zip FreeBSD-src-bac74fbd5437e3b09bdcbbe1a58698e0fc6aab8b.tar.gz |
Fix some of the places where too much inside knowledge about major/minor
layout and dev_t structure is being (ab)used.
Diffstat (limited to 'sys/i386/isa/si.c')
-rw-r--r-- | sys/i386/isa/si.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/isa/si.c b/sys/i386/isa/si.c index 52f672b..8cdef5c 100644 --- a/sys/i386/isa/si.c +++ b/sys/i386/isa/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); |