Skip to content

Commit 32b5faa

Browse files
authored
Merge pull request #280 from mfuterko/master
Fix a typo
2 parents 816954d + f3723fe commit 32b5faa

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

mem/file.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,9 @@ import (
2222
"path/filepath"
2323
"sync"
2424
"sync/atomic"
25+
"time"
2526
)
2627

27-
import "time"
28-
2928
const FilePathSeparator = string(filepath.Separator)
3029

3130
type File struct {
@@ -105,7 +104,7 @@ func SetUID(f *FileData, uid int) {
105104

106105
func SetGID(f *FileData, gid int) {
107106
f.Lock()
108-
f.uid = gid
107+
f.gid = gid
109108
f.Unlock()
110109
}
111110

0 commit comments

Comments
 (0)