]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - debian/patches/06-fix-no-tcp-short-option.patch
Imported Debian patch 1.0.10-6~quilt.0
[nfs-utils.git] / debian / patches / 06-fix-no-tcp-short-option.patch
diff --git a/debian/patches/06-fix-no-tcp-short-option.patch b/debian/patches/06-fix-no-tcp-short-option.patch
new file mode 100644 (file)
index 0000000..af42343
--- /dev/null
@@ -0,0 +1,13 @@
+Index: nfs-utils-1.0.10/utils/mountd/mountd.c
+===================================================================
+--- nfs-utils-1.0.10.orig/utils/mountd/mountd.c
++++ nfs-utils-1.0.10/utils/mountd/mountd.c
+@@ -558,7 +558,7 @@ main(int argc, char **argv)
+       /* Parse the command line options and arguments. */
+       opterr = 0;
+-      while ((c = getopt_long(argc, argv, "o:n:Fd:f:p:P:hH:N:V:vs:t:", longopts, NULL)) != EOF)
++      while ((c = getopt_long(argc, argv, "o:nFd:f:p:P:hH:N:V:vs:t:", longopts, NULL)) != EOF)
+               switch (c) {
+               case 'o':
+                       descriptors = atoi(optarg);