X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmount%2Fnfs4mount.c;h=26a6896855db4c5bc4e959ab80fcb28e7f46eebf;hp=90d5c1e64bb873401bcf7c5ba4c150b3c6afc618;hb=d70bea17c3e6ef2ad5bd61b5e2c231f805d69e6e;hpb=6734ef89f4618f84e26f847b075f65f62ef086cf diff --git a/utils/mount/nfs4mount.c b/utils/mount/nfs4mount.c index 90d5c1e..26a6896 100644 --- a/utils/mount/nfs4mount.c +++ b/utils/mount/nfs4mount.c @@ -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;