Quiet uninitialized variable warning (also a bug).
This commit is contained in:
parent
f1d4135bd9
commit
c22c65b1d4
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user