]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/mount/nfs4mount.c
libnfs.a: move clnt_ping() to utils/mount
[nfs-utils.git] / utils / mount / nfs4mount.c
index 90d5c1e64bb873401bcf7c5ba4c150b3c6afc618..52b0261a6038fd6e6bf411a01fd4e28a7770fd2d 100644 (file)
@@ -46,6 +46,7 @@
 #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 +71,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 +305,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;