aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlrich Olmann <u.oelmann@pengutronix.de>2020-12-16 11:12:15 -0500
committerSteve Dickson <steved@redhat.com>2020-12-16 11:12:15 -0500
commitbdd4539c082a09334092ab679bfcf9dea4ae7b46 (patch)
tree60d4dbf4e437eeacb30436a1ff9a24a65ad1a2a8
parentba90d61be3abca5a699765ce08759ca6b986781d (diff)
downloadnfs-utils-bdd4539c082a09334092ab679bfcf9dea4ae7b46.tar.gz
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") Signed-off-by: Ulrich Olmann <u.oelmann@pengutronix.de> Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--utils/nfsd/nfsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/nfsd/nfsd.c b/utils/nfsd/nfsd.c
index a412a026..c9f0385b 100644
--- a/utils/nfsd/nfsd.c
+++ b/utils/nfsd/nfsd.c
@@ -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);