X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmount%2Fstropts.c;h=0c8d3e1baf83779b9447893d3d796bf3b7bfd0f2;hp=cf403133296bd034497f795471f55c7932c256b8;hb=72ada109b86622db8009e774ebc96a7a92094e8a;hpb=4d5e8d3e948a83e3960d63ff2d537a62bee4fa4a diff --git a/utils/mount/stropts.c b/utils/mount/stropts.c index cf40313..0c8d3e1 100644 --- a/utils/mount/stropts.c +++ b/utils/mount/stropts.c @@ -304,9 +304,6 @@ static struct mount_options *rewrite_mount_options(char *str) if (option) mnt_server.pmap.pm_port = atoi(option); mnt_server.pmap.pm_prog = MOUNTPROG; - option = po_get(options, "mountprog"); - if (option) - mnt_server.pmap.pm_prog = atoi(option); option = po_get(options, "mountvers"); if (option) mnt_server.pmap.pm_vers = atoi(option); @@ -317,9 +314,6 @@ static struct mount_options *rewrite_mount_options(char *str) po_remove_all(options, "port"); } nfs_server.pmap.pm_prog = NFS_PROGRAM; - option = po_get(options, "nfsprog"); - if (option) - nfs_server.pmap.pm_prog = atoi(option); option = po_get(options, "nfsvers"); if (option) {