mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-03 12:35:02 +00:00
getopt_long() returns an int. Use the return value accordingly.
Pointy hat to: me MFC after: 2 months X-MFC: r241519,241521
This commit is contained in:
parent
4cff153b87
commit
d14cfe6e65
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=241522
@ -107,7 +107,6 @@ int
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
struct iovec *iov;
|
||||
char ch = '\0';
|
||||
int mntflags, iovlen, verbose = 0;
|
||||
char *dev = NULL, *dir = NULL, mntpath[MAXPATHLEN];
|
||||
char *devo = NULL, *diro = NULL;
|
||||
@ -115,6 +114,7 @@ main(int argc, char *argv[])
|
||||
int i, done = 0, reject_allow_other = 0, safe_level = 0;
|
||||
int altflags = DEFAULT_MOUNT_FLAGS;
|
||||
int __altflags = DEFAULT_MOUNT_FLAGS;
|
||||
int ch = 0;
|
||||
struct mntopt *mo;
|
||||
struct mntval *mv;
|
||||
static struct option longopts[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user