summaryrefslogtreecommitdiffstats
path: root/utils/mount/mount.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2009-07-14 16:50:00 -0400
committerSteve Dickson <steved@redhat.com>2009-07-14 16:50:00 -0400
commitd47f9baba71e92730e94d3361fa1098dc31b7627 (patch)
treee94b391f41492a993a66fcd5efd56a5a9e9c4ac0 /utils/mount/mount.c
parent4fc8cacd748d59dd3f463148994700bdd7610908 (diff)
downloadnfs-utils-d47f9baba71e92730e94d3361fa1098dc31b7627.tar.gz
nfs-utils-d47f9baba71e92730e94d3361fa1098dc31b7627.tar.xz
nfs-utils-d47f9baba71e92730e94d3361fa1098dc31b7627.zip
mount.nfs: Remove unused parameter in try_mount()
Address compiler warning: mount.c: At top level: mount.c:420: warning: unused parameter nomtab Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/mount/mount.c')
-rw-r--r--utils/mount/mount.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/mount/mount.c b/utils/mount/mount.c
index d531d64..a668cd9 100644
--- a/utils/mount/mount.c
+++ b/utils/mount/mount.c
@@ -417,7 +417,7 @@ static int chk_mountpoint(char *mount_point)
static int try_mount(char *spec, char *mount_point, int flags,
char *fs_type, char **extra_opts, char *mount_opts,
- int fake, int nomtab, int bg)
+ int fake, int bg)
{
int ret;
@@ -582,7 +582,7 @@ int main(int argc, char *argv[])
}
mnt_err = try_mount(spec, mount_point, flags, fs_type, &extra_opts,
- mount_opts, fake, nomtab, FOREGROUND);
+ mount_opts, fake, FOREGROUND);
if (mnt_err == EX_BG) {
printf(_("%s: backgrounding \"%s\"\n"),
progname, spec);
@@ -600,7 +600,7 @@ int main(int argc, char *argv[])
mnt_err = try_mount(spec, mount_point, flags, fs_type,
&extra_opts, mount_opts, fake,
- nomtab, BACKGROUND);
+ BACKGROUND);
if (verbose && mnt_err)
printf(_("%s: giving up \"%s\"\n"),
progname, spec);