summaryrefslogtreecommitdiffstats
path: root/utils/mount/nfs4mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/mount/nfs4mount.c')
-rw-r--r--utils/mount/nfs4mount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/mount/nfs4mount.c b/utils/mount/nfs4mount.c
index a0a1cab..1cbeafa 100644
--- a/utils/mount/nfs4mount.c
+++ b/utils/mount/nfs4mount.c
@@ -167,7 +167,7 @@ static int get_my_ipv4addr(char *ip_addr, int len)
return 0;
}
-int nfs4mount(const char *spec, const char *node, int *flags,
+int nfs4mount(const char *spec, const char *node, int flags,
char **extra_opts, int running_bg, int fake)
{
static struct nfs4_mount_data data;
@@ -444,7 +444,7 @@ int nfs4mount(const char *spec, const char *node, int *flags,
if (!fake) {
if (mount(spec, node, "nfs4",
- *flags & ~(MS_USER|MS_USERS), &data)) {
+ flags & ~(MS_USER|MS_USERS), &data)) {
mount_error(spec, node, errno);
goto fail;
}