(Sorry about prev. blank message - I realised I needed a change too late).
Removed unused var. and correct a printf formatting string.
This commit is contained in:
parent
b3b6adad1d
commit
ee328c4bad
@ -151,7 +151,7 @@ vnclose(dev_t dev, int flags, int mode, struct proc *p)
|
||||
int
|
||||
vnopen(dev_t dev, int flags, int mode, struct proc *p)
|
||||
{
|
||||
int unit = vnunit(dev),size;
|
||||
int unit = vnunit(dev);
|
||||
struct vn_softc *vn;
|
||||
|
||||
if (unit >= NVN) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user