From ee328c4bade58195a08359329a650ca6ace30e9b Mon Sep 17 00:00:00 2001 From: Gary Palmer Date: Fri, 28 Apr 1995 22:24:37 +0000 Subject: (Sorry about prev. blank message - I realised I needed a change too late). Removed unused var. and correct a printf formatting string. --- sys/dev/vn/vn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/vn') diff --git a/sys/dev/vn/vn.c b/sys/dev/vn/vn.c index ed940d7c7347..189bb0e1073a 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) { -- cgit v1.3