fix warnings in mount.c
authorJ. Bruce Fields <bfields@citi.umich.edu>
Thu, 5 Jul 2007 17:45:51 +0000 (13:45 -0400)
committerNeil Brown <neilb@suse.de>
Tue, 10 Jul 2007 00:35:33 +0000 (10:35 +1000)
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>
utils/mount/mount.c

index 171c714..c163922 100644 (file)
@@ -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;