Skip to content

Commit c951ea2

Browse files
committed
mount_nfs: fix a few lint warnings
The options 'K' and 'm:' are neither documented nor handled.
1 parent 2cf0b46 commit c951ea2

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

sbin/mount_nfs/mount_nfs.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: mount_nfs.c,v 1.75 2022/12/21 19:00:52 chs Exp $ */
1+
/* $NetBSD: mount_nfs.c,v 1.76 2025/01/03 00:49:24 rillig Exp $ */
22

33
/*
44
* Copyright (c) 1992, 1993, 1994
@@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1992, 1993, 1994\
4242
#if 0
4343
static char sccsid[] = "@(#)mount_nfs.c 8.11 (Berkeley) 5/4/95";
4444
#else
45-
__RCSID("$NetBSD: mount_nfs.c,v 1.75 2022/12/21 19:00:52 chs Exp $");
45+
__RCSID("$NetBSD: mount_nfs.c,v 1.76 2025/01/03 00:49:24 rillig Exp $");
4646
#endif
4747
#endif /* not lint */
4848

@@ -221,7 +221,7 @@ mount_nfs_parseargs(int argc, char *argv[],
221221
memset(nfsargsp, 0, sizeof(*nfsargsp));
222222
*nfsargsp = nfsdefargs;
223223
while ((c = getopt(argc, argv,
224-
"23Aa:bcCdD:g:I:iKL:lm:o:PpqR:r:sTt:w:x:UuX")) != -1)
224+
"23Aa:bcCdD:g:I:iL:lo:PpqR:r:sTt:w:x:UuX")) != -1)
225225
switch (c) {
226226
case '3':
227227
case 'q':
@@ -416,7 +416,6 @@ mount_nfs_parseargs(int argc, char *argv[],
416416
break;
417417
default:
418418
usage();
419-
break;
420419
}
421420
argc -= optind;
422421
argv += optind;

0 commit comments

Comments
 (0)