diff options
| author | Joerg Wunsch <joerg@FreeBSD.org> | 1997-11-07 00:09:40 +0000 |
|---|---|---|
| committer | Joerg Wunsch <joerg@FreeBSD.org> | 1997-11-07 00:09:40 +0000 |
| commit | 8518c081b45a7a69b4d40d26720e6c56b697af5c (patch) | |
| tree | 10454d452b5bdda588d704ffd66f8b7b4b6d4b2e | |
| parent | 8f8262da3925e54fef6c186c3b1016ab6cd9c424 (diff) | |
Notes
| -rw-r--r-- | usr.sbin/config/mkheaders.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/config/mkheaders.c b/usr.sbin/config/mkheaders.c index 2e836e291495..74e92eedc6cf 100644 --- a/usr.sbin/config/mkheaders.c +++ b/usr.sbin/config/mkheaders.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)mkheaders.c 8.1 (Berkeley) 6/6/93"; #endif static const char rcsid[] = - "$Id: mkheaders.c,v 1.6 1997/09/15 06:37:09 charnier Exp $"; + "$Id: mkheaders.c,v 1.7 1997/10/28 07:21:02 joerg Exp $"; #endif /* not lint */ /* @@ -93,7 +93,7 @@ do_count(dev, hname, search) */ for (hicount = count = 0, dp = dtab; dp != 0; dp = dp->d_next) if (dp->d_unit != -1 && eq(dp->d_name, dev)) { - if (dp->d_type == PSEUDO_DEVICE) { + if ((dp->d_type & TYPEMASK) == PSEUDO_DEVICE) { count = dp->d_slave != UNKNOWN ? dp->d_slave : 1; dp->d_type |= DEVDONE; |
