]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
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 171c714bf2350ec36d0c228aa790098791d9c1c6..c163922b7d7159a59a4bbde0d4ba45fe9c3dea95 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;