summaryrefslogtreecommitdiffstats
path: root/sys/dev/vn/vn.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/vn/vn.c')
-rw-r--r--sys/dev/vn/vn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/vn/vn.c b/sys/dev/vn/vn.c
index ed940d7..189bb0e 100644
--- a/sys/dev/vn/vn.c
+++ b/sys/dev/vn/vn.c
@@ -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) {
OpenPOWER on IntegriCloud