X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmount%2Fnfs4mount.c;h=e1b2c3b557eb2fa0372e72746d77257c9f3fc626;hp=90d5c1e64bb873401bcf7c5ba4c150b3c6afc618;hb=a786c016f0af6fa116ae2483d6261dbed009d87e;hpb=6734ef89f4618f84e26f847b075f65f62ef086cf diff --git a/utils/mount/nfs4mount.c b/utils/mount/nfs4mount.c index 90d5c1e..e1b2c3b 100644 --- a/utils/mount/nfs4mount.c +++ b/utils/mount/nfs4mount.c @@ -39,13 +39,13 @@ #include "pseudoflavors.h" #include "nls.h" -#include "conn.h" #include "xcommon.h" #include "mount_constants.h" #include "nfs4_mount.h" #include "nfs_mount.h" #include "error.h" +#include "network.h" #if defined(VAR_LOCK_DIR) #define DEFAULT_DIR VAR_LOCK_DIR @@ -70,7 +70,7 @@ char *GSSDLCK = DEFAULT_DIR "/rpcgssd"; if (access(GSSDLCK, F_OK)) { \ printf(_("Warning: rpc.gssd appears not to be running.\n")); \ } \ -} while(0); +} while(0); #ifndef NFS_PORT #define NFS_PORT 2049 @@ -304,9 +304,9 @@ int nfs4mount(const char *spec, const char *node, int flags, val = 0; opt += 2; } - if (!strcmp(opt, "bg")) + if (!strcmp(opt, "bg")) bg = val; - else if (!strcmp(opt, "fg")) + else if (!strcmp(opt, "fg")) bg = !val; else if (!strcmp(opt, "soft")) soft = val;