Quiet uninitialized variable warning (also a bug).

This commit is contained in:
Jake Burkholder 2001-07-31 03:32:24 +00:00
parent f1d4135bd9
commit c22c65b1d4

View File

@ -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);
}