diff options
| author | Jake Burkholder <jake@FreeBSD.org> | 2001-07-31 03:32:24 +0000 |
|---|---|---|
| committer | Jake Burkholder <jake@FreeBSD.org> | 2001-07-31 03:32:24 +0000 |
| commit | c22c65b1d43173729371aa2c30e1fea98c019ea0 (patch) | |
| tree | cc201bf69d6c11e0243970aa5dc817274aae56ab | |
| parent | f1d4135bd9899111005df9a4783cd5d6e42a4066 (diff) | |
Notes
| -rw-r--r-- | sys/dev/ofw/ofw_console.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ofw/ofw_console.c b/sys/dev/ofw/ofw_console.c index d2835ec67ed3..ff5bd3fe6943 100644 --- a/sys/dev/ofw/ofw_console.c +++ b/sys/dev/ofw/ofw_console.c @@ -159,6 +159,8 @@ ofw_dev_ioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p) int error; unit = minor(dev); + tp = ofw_tp; + if (unit != 0) { return (ENXIO); } |
