summaryrefslogtreecommitdiffstats
path: root/utils/mount/nfs4mount.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2007-07-16 16:29:32 -0400
committerNeil Brown <neilb@suse.de>2007-07-20 16:19:24 +1000
commitd70bea17c3e6ef2ad5bd61b5e2c231f805d69e6e (patch)
treed14f0c66909e205c7033438c825cc17c21e19baf /utils/mount/nfs4mount.c
parent6734ef89f4618f84e26f847b075f65f62ef086cf (diff)
downloadnfs-utils-d70bea17c3e6ef2ad5bd61b5e2c231f805d69e6e.tar.gz
nfs-utils-d70bea17c3e6ef2ad5bd61b5e2c231f805d69e6e.tar.xz
nfs-utils-d70bea17c3e6ef2ad5bd61b5e2c231f805d69e6e.zip
mount.nfs: White space clean up
Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'utils/mount/nfs4mount.c')
-rw-r--r--utils/mount/nfs4mount.c6
1 files changed, 3 insertions, 3 deletions
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;