summaryrefslogtreecommitdiffstats
path: root/sys/dev/syscons
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1999-05-10 14:01:35 +0000
committerdfr <dfr@FreeBSD.org>1999-05-10 14:01:35 +0000
commit56809581f0a807350024253afaa47fcd218be388 (patch)
tree2f724c2325402d518c6997e69f609cb3c9e73ff5 /sys/dev/syscons
parent61eefd2271fb6b7354c0707002b9d1109942b1aa (diff)
downloadFreeBSD-src-56809581f0a807350024253afaa47fcd218be388.zip
FreeBSD-src-56809581f0a807350024253afaa47fcd218be388.tar.gz
Adjust console stuff now that makedev is no longer a macro.
Diffstat (limited to 'sys/dev/syscons')
-rw-r--r--sys/dev/syscons/syscons.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c
index 1f8377e..24e3d10 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.300 1999/04/16 21:21:56 peter Exp $
+ * $Id: syscons.c,v 1.301 1999/04/27 11:14:04 phk Exp $
*/
#include "sc.h"
@@ -354,7 +354,7 @@ static cn_putc_t sccnputc;
struct consdev sc_cons = {
NULL, NULL, sccngetc, sccncheckc, sccnputc,
- NULL, makedev(CDEV_MAJOR, 0), CN_NORMAL,
+ NULL, 0, CN_NORMAL,
};
#endif /* __i386__ */
@@ -1917,6 +1917,7 @@ sccnattach(void)
}
scinit();
+ sc_cons.cn_dev = makedev(CDEV_MAJOR, 0);
cn_tab = &sc_cons;
}
OpenPOWER on IntegriCloud