summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>1996-06-02 16:35:48 +0000
committerniklas <niklas@openbsd.org>1996-06-02 16:35:48 +0000
commit9b32618ef877607abef7c76b4aca61fa5f2373b4 (patch)
tree38ed7183d584352786f1971a8e860e2898fb9ae1
parentremoved an unused variable (diff)
downloadwireguard-openbsd-9b32618ef877607abef7c76b4aca61fa5f2373b4.tar.xz
wireguard-openbsd-9b32618ef877607abef7c76b4aca61fa5f2373b4.zip
move a definition of a var inside #ifdef UMAPFS_DIAGNOSTIC as
it is only used inside such regions
-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