X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmount%2Fstropts.c;h=31df51b958b8d08be9b28b1428759d1cd1b53b71;hp=cf403133296bd034497f795471f55c7932c256b8;hb=72bc295da78bafff92762b8afbb298ac16d1ff43;hpb=abb00ff7cff3c6540978d9b463dee3d4fdda15f4 diff --git a/utils/mount/stropts.c b/utils/mount/stropts.c index cf40313..31df51b 100644 --- a/utils/mount/stropts.c +++ b/utils/mount/stropts.c @@ -317,9 +317,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) {