From: J. Bruce Fields Date: Thu, 5 Jul 2007 17:45:51 +0000 (-0400) Subject: fix warnings in mount.c X-Git-Tag: nfs-utils-1-1-1~158 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=a7183e899c186d873bc41c023924b92f9184fe9b;p=nfs-utils.git 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" Signed-off-by: Neil Brown --- 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;