From 30a9d81e1cd22b006e75d453ee5a4cc68361e404 Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 28 Sep 2002 13:42:04 +0000 Subject: [PATCH] I misplaced a local variable yesterday. --- sys/fs/specfs/spec_vnops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/fs/specfs/spec_vnops.c b/sys/fs/specfs/spec_vnops.c index e2f5cdfd70c8..b1575c13c786 100644 --- a/sys/fs/specfs/spec_vnops.c +++ b/sys/fs/specfs/spec_vnops.c @@ -253,13 +253,13 @@ spec_read(ap) struct uio *uio; dev_t dev; int error, resid; + struct cdevsw *dsw; vp = ap->a_vp; dev = vp->v_rdev; uio = ap->a_uio; td = uio->uio_td; resid = uio->uio_resid; - struct cdevsw *dsw; if (resid == 0) return (0);