summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2007-07-05 13:45:51 -0400
committerNeil Brown <neilb@suse.de>2007-07-10 10:35:33 +1000
commita7183e899c186d873bc41c023924b92f9184fe9b (patch)
tree424d188975e1d80741d62e42574fcd157b049941
parent4a745538bf466713beb4d405397e170a15a5778e (diff)
downloadnfs-utils-a7183e899c186d873bc41c023924b92f9184fe9b.tar.gz
nfs-utils-a7183e899c186d873bc41c023924b92f9184fe9b.tar.xz
nfs-utils-a7183e899c186d873bc41c023924b92f9184fe9b.zip
fix warnings in mount.c
The compiler is warning because we aren't properly specifying the type of the chk_mountpoint argument. Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu> Signed-off-by: Neil Brown <neilb@suse.de>
-rw-r--r--utils/mount/mount.c2
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;