mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-08 09:30:41 +00:00
Quiet uninitialized variable warning (also a bug).
This commit is contained in:
parent
f1d4135bd9
commit
c22c65b1d4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=80696
|
@ -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 a new issue