diff options
author | jake <jake@FreeBSD.org> | 2001-07-31 03:32:24 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2001-07-31 03:32:24 +0000 |
commit | d47551647162edb928487e16e76531f482c470e8 (patch) | |
tree | cc201bf69d6c11e0243970aa5dc817274aae56ab /sys/dev/ofw | |
parent | 790155d37f7c36c6cc0fd236fa08d7541df88543 (diff) | |
download | FreeBSD-src-d47551647162edb928487e16e76531f482c470e8.zip FreeBSD-src-d47551647162edb928487e16e76531f482c470e8.tar.gz |
Quiet uninitialized variable warning (also a bug).
Diffstat (limited to 'sys/dev/ofw')
-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 d2835ec..ff5bd3f 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); } |