X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=utils%2Fmount%2Fstropts.c;h=cadb1f473e4b4383eedbd58060648f9cf7b560d3;hb=f1a21c54149d24f8f8f875c2883af449d921c50b;hp=31df51b958b8d08be9b28b1428759d1cd1b53b71;hpb=72bc295da78bafff92762b8afbb298ac16d1ff43;p=nfs-utils.git diff --git a/utils/mount/stropts.c b/utils/mount/stropts.c index 31df51b..cadb1f4 100644 --- a/utils/mount/stropts.c +++ b/utils/mount/stropts.c @@ -21,6 +21,10 @@ * */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include @@ -304,9 +308,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);