X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=utils%2Fmount%2Fnfs4mount.c;h=f98e275252534e95fc5e0432b93a116592ac2774;hb=8d85f209d0343cf8fef35ea0c94ba9c93af6ffa6;hp=a0a1cabe40edaf34d5ab21e6a357a23e05863247;hpb=14f4a50b4b51bc4bdf56cfd43d8ae598579c4e6d;p=nfs-utils.git diff --git a/utils/mount/nfs4mount.c b/utils/mount/nfs4mount.c index a0a1cab..f98e275 100644 --- a/utils/mount/nfs4mount.c +++ b/utils/mount/nfs4mount.c @@ -167,8 +167,8 @@ static int get_my_ipv4addr(char *ip_addr, int len) return 0; } -int nfs4mount(const char *spec, const char *node, int *flags, - char **extra_opts, int running_bg, int fake) +int nfs4mount(const char *spec, const char *node, int flags, + char **extra_opts, int fake) { static struct nfs4_mount_data data; static char hostdir[1024]; @@ -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; }