diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/pluart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/pluart.c b/sys/dev/ic/pluart.c index 8f42a3f930c..0f024c0ad34 100644 --- a/sys/dev/ic/pluart.c +++ b/sys/dev/ic/pluart.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pluart.c,v 1.1 2018/07/02 12:46:20 kettenis Exp $ */ +/* $OpenBSD: pluart.c,v 1.2 2018/08/12 18:32:18 kettenis Exp $ */ /* * Copyright (c) 2014 Patrick Wildt <patrick@blueri.se> * Copyright (c) 2005 Dale Rahn <drahn@dalerahn.com> @@ -779,7 +779,7 @@ pluartcnattach(bus_space_tag_t iot, bus_addr_t iobase, int rate, tcflag_t cflag) cn_tab = &pluartcons; cn_tab->cn_dev = makedev(maj, 0); - cdevsw[12] = pluartdev; /* KLUDGE */ + cdevsw[maj] = pluartdev; /* KLUDGE */ pluartconsiot = iot; pluartconsaddr = iobase; |