#include "nls.h"
#include "nfs_mount.h"
#include "mount_constants.h"
+#include "stropts.h"
#include "error.h"
#include "network.h"
{
int retval = EX_FAIL;
- if (verbose)
- printf(_("%s: using C string mount system call interface\n"),
- progname);
-
extract_interesting_options(*extra_opts);
if (!addr_opt && !append_addr_opt(spec, extra_opts))
goto fail;
if (verbose)
- printf(_("%s: option string is '%s'\n"),
+ printf(_("%s: text-based options: '%s'\n"),
progname, *extra_opts);
if (!fake) {
* @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;
- if (verbose)
- printf(_("%s: using C string mount system call interface\n"),
- progname);
-
extract_interesting_options(*extra_opts);
if (!addr_opt && !append_addr_opt(spec, extra_opts))
goto fail;
if (verbose)
- printf(_("%s: option string is '%s'\n"),
+ printf(_("%s: text-based options: '%s'\n"),
progname, *extra_opts);
if (!fake) {