summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2007-08-24 13:11:11 -0400
committerNeil Brown <neilb@suse.de>2007-08-25 08:19:31 +1000
commit6ba0c8306ff8ed0e1233e593bf55d56b017e922b (patch)
treec1720ffcaed34d1249cf09d07dec0eeecad624db
parent798d0f1244ad4b77f1862c670ada16780c26a7af (diff)
downloadnfs-utils-6ba0c8306ff8ed0e1233e593bf55d56b017e922b.tar.gz
nfs-utils-6ba0c8306ff8ed0e1233e593bf55d56b017e922b.tar.xz
nfs-utils-6ba0c8306ff8ed0e1233e593bf55d56b017e922b.zip
mount.nfs: Fix nfs4mount_s prototype.
The definition of nfs4mount_s in utils/mount/stropts.c doesn't match the prototype declared in utils/mount/stropts.h. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Neil Brown <neilb@suse.de>
-rw-r--r--utils/mount/stropts.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/mount/stropts.c b/utils/mount/stropts.c
index 95392a1..ca79ce0 100644
--- a/utils/mount/stropts.c
+++ b/utils/mount/stropts.c
@@ -37,6 +37,7 @@
#include "nls.h"
#include "nfs_mount.h"
#include "mount_constants.h"
+#include "stropts.h"
#include "error.h"
#include "network.h"
@@ -286,13 +287,13 @@ fail:
* @extra_opts: pointer to C string containing fs-specific mount options
* (possibly also a return argument)
* @fake: flag indicating whether to carry out the whole operation
- * @bg: one if this is a backgrounded mount attempt
+ * @child: one if this is a backgrounded mount
*
* XXX: need to handle bg, fg, and retry options.
*
*/
int nfs4mount_s(const char *spec, const char *node, int flags,
- char **extra_opts, int fake)
+ char **extra_opts, int fake, int child)
{
int retval = EX_FAIL;