Declare the variable `i' when UMAP_DIAGNOSTIC is defined.

This commit is contained in:
KATO Takenori 1998-02-03 14:30:01 +00:00
parent 81389de071
commit 4e649c4174
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=33037
2 changed files with 8 additions and 2 deletions

View File

@ -35,7 +35,7 @@
* *
* @(#)umap_vfsops.c 8.8 (Berkeley) 5/14/95 * @(#)umap_vfsops.c 8.8 (Berkeley) 5/14/95
* *
* $Id: umap_vfsops.c,v 1.17 1997/10/12 20:24:55 phk Exp $ * $Id: umap_vfsops.c,v 1.18 1998/01/01 08:28:26 bde Exp $
*/ */
/* /*
@ -91,6 +91,9 @@ umapfs_mount(mp, path, data, ndp, p)
struct umap_mount *amp; struct umap_mount *amp;
u_int size; u_int size;
int error; int error;
#ifdef UMAP_DIAGNOSTIC
int i;
#endif
#ifdef UMAPFS_DIAGNOSTIC #ifdef UMAPFS_DIAGNOSTIC
printf("umapfs_mount(mp = %x)\n", mp); printf("umapfs_mount(mp = %x)\n", mp);

View File

@ -35,7 +35,7 @@
* *
* @(#)umap_vfsops.c 8.8 (Berkeley) 5/14/95 * @(#)umap_vfsops.c 8.8 (Berkeley) 5/14/95
* *
* $Id: umap_vfsops.c,v 1.17 1997/10/12 20:24:55 phk Exp $ * $Id: umap_vfsops.c,v 1.18 1998/01/01 08:28:26 bde Exp $
*/ */
/* /*
@ -91,6 +91,9 @@ umapfs_mount(mp, path, data, ndp, p)
struct umap_mount *amp; struct umap_mount *amp;
u_int size; u_int size;
int error; int error;
#ifdef UMAP_DIAGNOSTIC
int i;
#endif
#ifdef UMAPFS_DIAGNOSTIC #ifdef UMAPFS_DIAGNOSTIC
printf("umapfs_mount(mp = %x)\n", mp); printf("umapfs_mount(mp = %x)\n", mp);