From 4e649c41742e622008c978fb165c9d362b88d422 Mon Sep 17 00:00:00 2001 From: KATO Takenori Date: Tue, 3 Feb 1998 14:30:01 +0000 Subject: [PATCH] Declare the variable `i' when UMAP_DIAGNOSTIC is defined. --- sys/fs/umapfs/umap_vfsops.c | 5 ++++- sys/miscfs/umapfs/umap_vfsops.c | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/sys/fs/umapfs/umap_vfsops.c b/sys/fs/umapfs/umap_vfsops.c index bd764a822c7d..fa1e5f436ab1 100644 --- a/sys/fs/umapfs/umap_vfsops.c +++ b/sys/fs/umapfs/umap_vfsops.c @@ -35,7 +35,7 @@ * * @(#)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; u_int size; int error; +#ifdef UMAP_DIAGNOSTIC + int i; +#endif #ifdef UMAPFS_DIAGNOSTIC printf("umapfs_mount(mp = %x)\n", mp); diff --git a/sys/miscfs/umapfs/umap_vfsops.c b/sys/miscfs/umapfs/umap_vfsops.c index bd764a822c7d..fa1e5f436ab1 100644 --- a/sys/miscfs/umapfs/umap_vfsops.c +++ b/sys/miscfs/umapfs/umap_vfsops.c @@ -35,7 +35,7 @@ * * @(#)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; u_int size; int error; +#ifdef UMAP_DIAGNOSTIC + int i; +#endif #ifdef UMAPFS_DIAGNOSTIC printf("umapfs_mount(mp = %x)\n", mp);