]> git.decadent.org.uk Git - nfs-utils.git/blob - debian/patches/06-fix-no-tcp-short-option.patch
Imported Debian patch 1.0.10-6~quilt.7
[nfs-utils.git] / debian / patches / 06-fix-no-tcp-short-option.patch
1 Index: nfs-utils-1.0.10/utils/mountd/mountd.c
2 ===================================================================
3 --- nfs-utils-1.0.10.orig/utils/mountd/mountd.c
4 +++ nfs-utils-1.0.10/utils/mountd/mountd.c
5 @@ -558,7 +558,7 @@ main(int argc, char **argv)
6  
7         /* Parse the command line options and arguments. */
8         opterr = 0;
9 -       while ((c = getopt_long(argc, argv, "o:n:Fd:f:p:P:hH:N:V:vs:t:", longopts, NULL)) != EOF)
10 +       while ((c = getopt_long(argc, argv, "o:nFd:f:p:P:hH:N:V:vs:t:", longopts, NULL)) != EOF)
11                 switch (c) {
12                 case 'o':
13                         descriptors = atoi(optarg);