diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-09-26 10:55:07 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-09-26 10:55:07 +0000 |
| commit | 2f06c3e7f2bfc8ee404005a01170e2b503bfb7c4 (patch) | |
| tree | 22a25934c36781bb7b7106e32e5c71e57f45dc47 /sys/dev/ofw | |
| parent | d31593c1a57b936bf5d47a4775bc867003b5d3e7 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ofw')
| -rw-r--r-- | sys/dev/ofw/ofw_console.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ofw/ofw_console.c b/sys/dev/ofw/ofw_console.c index e6c006ebffc7..b835dd13f038 100644 --- a/sys/dev/ofw/ofw_console.c +++ b/sys/dev/ofw/ofw_console.c @@ -283,7 +283,8 @@ static void ofw_cons_init(struct consdev *cp) { - cp->cn_dev = makedev(CDEV_MAJOR, 0); + /* XXX: This is the alias, but that should be good enough */ + sprintf(cp->cn_name, "ofwcons"); cp->cn_tp = ofw_tp; } |
