Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc/dev Pass correct argument to the console chan...



details:   https://anonhg.NetBSD.org/src/rev/3d8152d77eb7
branches:  trunk
changeset: 494245:3d8152d77eb7
user:      pk <pk%NetBSD.org@localhost>
date:      Tue Jul 04 13:57:40 2000 +0000

description:
Pass correct argument to the console channel close routine.

diffstat:

 sys/arch/sparc/dev/kd.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 4f251fda7c62 -r 3d8152d77eb7 sys/arch/sparc/dev/kd.c
--- a/sys/arch/sparc/dev/kd.c   Tue Jul 04 13:28:13 2000 +0000
+++ b/sys/arch/sparc/dev/kd.c   Tue Jul 04 13:57:40 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kd.c,v 1.12 2000/05/21 14:36:15 eeh Exp $      */
+/*     $NetBSD: kd.c,v 1.13 2000/07/04 13:57:40 pk Exp $       */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -258,7 +258,7 @@
        ttyclose(tp);
 
        if ((cc = kd->kd_in) != NULL)
-               (void)(*cc->cc_iclose)(cc->cc_dev);
+               (void)(*cc->cc_iclose)(cc);
 
        return (0);
 }



Home | Main Index | Thread Index | Old Index