projects
/
nfs-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a74553
)
fix warnings in mount.c
author
J. Bruce Fields
<bfields@citi.umich.edu>
Thu, 5 Jul 2007 17:45:51 +0000
(13:45 -0400)
committer
Neil 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
patch
|
blob
|
history
diff --git
a/utils/mount/mount.c
b/utils/mount/mount.c
index
171c714
..
c163922
100644
(file)
--- 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;