summaryrefslogtreecommitdiff
path: root/sys/miscfs
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-06-02 16:35:49 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-06-02 16:35:49 +0000
commiteec461f5f7fd9874e7f2722fa82a43c8a074067b (patch)
tree2808d61c3bb21e524fdb51f7a953047f830d5350 /sys/miscfs
parentd1c9edb643fe8fe109247e263cdf4435e1cf23c3 (diff)
move a definition of a var inside #ifdef UMAPFS_DIAGNOSTIC as
it is only used inside such regions
Diffstat (limited to 'sys/miscfs')
-rw-r--r--sys/miscfs/umapfs/umap_vfsops.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/miscfs/umapfs/umap_vfsops.c b/sys/miscfs/umapfs/umap_vfsops.c
index 88361e28173..24fac53a49f 100644
--- a/sys/miscfs/umapfs/umap_vfsops.c
+++ b/sys/miscfs/umapfs/umap_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: umap_vfsops.c,v 1.6 1996/03/30 01:40:48 mickey Exp $ */
+/* $OpenBSD: umap_vfsops.c,v 1.7 1996/06/02 16:35:48 niklas Exp $ */
/* $NetBSD: umap_vfsops.c,v 1.9 1996/02/09 22:41:05 christos Exp $ */
/*
@@ -85,9 +85,10 @@ umapfs_mount(mp, path, data, ndp, p)
struct vnode *umapm_rootvp;
struct umap_mount *amp;
size_t size;
- int error,i;
-
+ int error;
#ifdef UMAPFS_DIAGNOSTIC
+ int i;
+
printf("umapfs_mount(mp = %x)\n", mp);
#endif