Merge pull request #506 from kevinetc123/patch-fmt
use bitclear instead of seperating it and fix some typo
This commit is contained in:
commit
c9ba5dc9a0
2 changed files with 2 additions and 2 deletions
2
mount.go
2
mount.go
|
@ -86,7 +86,7 @@ func parseMountOptions(options []string) (int, string) {
|
||||||
// then it is a data value for a specific fs type
|
// then it is a data value for a specific fs type
|
||||||
if f, exists := flags[o]; exists && f.flag != 0 {
|
if f, exists := flags[o]; exists && f.flag != 0 {
|
||||||
if f.clear {
|
if f.clear {
|
||||||
flag &= ^f.flag
|
flag &^= f.flag
|
||||||
} else {
|
} else {
|
||||||
flag |= f.flag
|
flag |= f.flag
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,7 +26,7 @@ const prSetChildSubreaper = 36
|
||||||
|
|
||||||
// PR_GET_CHILD_SUBREAPER allows retrieving the current child
|
// PR_GET_CHILD_SUBREAPER allows retrieving the current child
|
||||||
// subreaper.
|
// subreaper.
|
||||||
// Return the "child subreaper" setting of the caller, in the
|
// Returns the "child subreaper" setting of the caller, in the
|
||||||
// location pointed to by (int *) arg2.
|
// location pointed to by (int *) arg2.
|
||||||
const prGetChildSubreaper = 37
|
const prGetChildSubreaper = 37
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue