nfsd: clean up option parsing
Subsystems (2)
PATCH 1/1 nfsd: clean up option parsing
Presumably by mistake in commit [1] the unknown option 'i' slipped in together with a duplicated 't', so remove them from the optstring.
[1] fbd7623dd8d5 ("nfsd: don't enable a UDP socket by default")
--- utils/nfsd/nfsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
utils/nfsd/nfsd.c +1 -1
@@ -162,7 +162,7 @@ main(int argc, char **argv) } } -while ((c =getopt_long (argc, argv,"dH:hN:V:p:P:stTituUrG:L:" , longopts,NULL )) !=EOF ) { +while ((c =getopt_long (argc, argv,"dH:hN:V:p:P:stTuUrG:L:" , longopts,NULL )) !=EOF ) {switch (c) {case 'd' :xlog_config (D_ALL ,1 );
Signature · 1 line
2.29.2
Gentle ping!
(And putting Jeff & Steve on CC).
Quoted 23 lines · Ulrich Ölmann
Presumably by mistake in commit [1] the unknown option 'i' slipped in together with a duplicated 't', so remove them from the optstring.
[1]
fbd7623dd8d5("nfsd: don't enable a UDP socket by default")Signed-off-by Ulrich Ölmann <[email protected]>--- utils/nfsd/nfsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)utils/nfsd/nfsd.c +1
-1@@ -162,7 +162,7 @@ main(int argc, char **argv) } } -while ((c =getopt_long (argc, argv,"dH:hN:V:p:P:stTituUrG:L:" , longopts,NULL )) !=EOF ) { +while ((c =getopt_long (argc, argv,"dH:hN:V:p:P:stTuUrG:L:" , longopts,NULL )) !=EOF ) {switch (c) {case 'd' :xlog_config (D_ALL ,1 );
Signature · 4 lines
Pengutronix e.K. | Ulrich Ölmann | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Quoted 2 lines · Ulrich Ölmann
Gentle ping!
(And putting Jeff & Steve on CC).
Sorry for the delay... Trying to burn some PTO before EOY...
Quoted 8 lines · Ulrich Ölmann
Quoted 6 lines
Presumably by mistake in commit [1] the unknown option 'i' slipped in together with a duplicated 't', so remove them from the optstring.
[1]
fbd7623dd8d5("nfsd: don't enable a UDP socket by default")Signed-off-by Ulrich Ölmann <[email protected]>
Committed!
steved.
Quoted 17 lines
Quoted 17 lines
--- utils/nfsd/nfsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)utils/nfsd/nfsd.c +1
-1@@ -162,7 +162,7 @@ main(int argc, char **argv) } } -while ((c =getopt_long (argc, argv,"dH:hN:V:p:P:stTituUrG:L:" , longopts,NULL )) !=EOF ) { +while ((c =getopt_long (argc, argv,"dH:hN:V:p:P:stTuUrG:L:" , longopts,NULL )) !=EOF ) {switch (c) {case 'd' :xlog_config (D_ALL ,1 );