[PATCH 2/5] fix warnings in mount.c

J. Bruce Fields bfields at fieldses.org
Thu Jul 5 13:45:51 EDT 2007


From: J. Bruce Fields <bfields at citi.umich.edu>

The compiler is warning because we aren't properly specifying the type
of the chk_mountpoint argument.

Signed-off-by: "J. Bruce Fields" <bfields at citi.umich.edu>
---
 utils/mount/mount.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/utils/mount/mount.c b/utils/mount/mount.c
index 171c714..c163922 100644
--- a/utils/mount/mount.c
+++ b/utils/mount/mount.c
@@ -308,7 +308,7 @@ static void mount_error(char *mntpnt, char *node)
 			fprintf(stderr, "%s: %s\n", progname, strerror(errno));
 	}
 }
-static int chk_mountpoint(mount_point)
+static int chk_mountpoint(char *mount_point)
 {
 	struct stat sb;
 
-- 
1.5.2.rc3



More information about the NFSv4 mailing list