summaryrefslogtreecommitdiffstats
path: root/sys/dev/syscons
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-06-26 11:00:17 +0000
committerpeter <peter@FreeBSD.org>1999-06-26 11:00:17 +0000
commit46dbaefa8039b805d45da0ebaa3eb354aaf06e17 (patch)
treecb550e6ebe3b17947fffd4be283f198fc8794e30 /sys/dev/syscons
parentfc28486c8d7f97aa0453443eb55b37e82abecbc1 (diff)
downloadFreeBSD-src-46dbaefa8039b805d45da0ebaa3eb354aaf06e17.zip
FreeBSD-src-46dbaefa8039b805d45da0ebaa3eb354aaf06e17.tar.gz
Fix a dev_t/udev_t issue
Diffstat (limited to 'sys/dev/syscons')
-rw-r--r--sys/dev/syscons/syscons.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c
index bc06969..c71294d9 100644
--- a/sys/dev/syscons/syscons.c
+++ b/sys/dev/syscons/syscons.c
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: syscons.c,v 1.307 1999/06/22 14:13:31 yokota Exp $
+ * $Id: syscons.c,v 1.308 1999/06/24 09:21:27 yokota Exp $
*/
#include "sc.h"
@@ -485,8 +485,8 @@ scopen(dev_t dev, int flag, int mode, struct proc *p)
if (!tp)
return(ENXIO);
- DPRINTF(5, ("scopen: dev:%d, unit:%d, vty:%d\n",
- dev, unit, SC_VTY(dev)));
+ DPRINTF(5, ("scopen: dev:%d,%d, unit:%d, vty:%d\n",
+ major(dev), minor(dev), unit, SC_VTY(dev)));
/* sc == NULL, if SC_VTY(dev) == SC_MOUSE */
sc = sc_get_softc(unit, (sc_console_unit == unit) ? SC_KERNEL_CONSOLE : 0);
OpenPOWER on IntegriCloud