From a7183e899c186d873bc41c023924b92f9184fe9b Mon Sep 17 00:00:00 2001 From: "J. Bruce Fields" Date: Thu, 5 Jul 2007 13:45:51 -0400 Subject: [PATCH] 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 --- utils/mount/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5