fix typos in pkg
Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
parent
3f3ba02798
commit
b8047bf930
10 changed files with 12 additions and 12 deletions
|
@ -7,7 +7,7 @@ import (
|
|||
)
|
||||
|
||||
// Umask sets current process's file mode creation mask to newmask
|
||||
// and return oldmask.
|
||||
// and returns oldmask.
|
||||
func Umask(newmask int) (oldmask int, err error) {
|
||||
return syscall.Umask(newmask), nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue