mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-23 18:14:56 +01:00
Declare the variable `i' when UMAP_DIAGNOSTIC is defined.
This commit is contained in:
parent
81389de071
commit
4e649c4174
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=33037
@ -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);
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user