mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Changed setflags() to set_flags(). This fixes part of the world breakage
due to recently incremented namespace pollution in <unistd.h>.
This commit is contained in:
parent
8ea643add3
commit
3306ebd1a5
1 changed files with 3 additions and 3 deletions
|
|
@ -205,7 +205,7 @@ int xdr_fh __P((XDR *, struct nfhret *));
|
|||
* the call to getmntopts.
|
||||
*/
|
||||
static void
|
||||
setflags(int* altflags, int* nfsflags, int dir)
|
||||
set_flags(int* altflags, int* nfsflags, int dir)
|
||||
{
|
||||
#define F2(af, nf) \
|
||||
if (dir) { \
|
||||
|
|
@ -345,13 +345,13 @@ main(argc, argv)
|
|||
break;
|
||||
case 'o':
|
||||
altflags = 0;
|
||||
setflags(&altflags, &nfsargsp->flags, TRUE);
|
||||
set_flags(&altflags, &nfsargsp->flags, TRUE);
|
||||
if (mountmode == V2)
|
||||
altflags |= ALTF_NFSV2;
|
||||
else if (mountmode == V3)
|
||||
altflags |= ALTF_NFSV3;
|
||||
getmntopts(optarg, mopts, &mntflags, &altflags);
|
||||
setflags(&altflags, &nfsargsp->flags, FALSE);
|
||||
set_flags(&altflags, &nfsargsp->flags, FALSE);
|
||||
/*
|
||||
* Handle altflags which don't map directly to
|
||||
* mount flags.
|
||||
|
|
|
|||
Loading…
Reference in a new issue