]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/mount/stropts.c
Recently #include directives for autoconf's config.h file were added in
[nfs-utils.git] / utils / mount / stropts.c
index 31df51b958b8d08be9b28b1428759d1cd1b53b71..cadb1f473e4b4383eedbd58060648f9cf7b560d3 100644 (file)
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <ctype.h>
 #include <unistd.h>
 #include <stdio.h>
@@ -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);