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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=80696

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