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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=56740
@ -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 New Issue
Block a user