Fix a typo - afero - [fork] go afero port for 9front
(HTM) git clone git@git.drkhsh.at/afero.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit f3723fe04d7a321ff8fa4ac8a8132e15bce95f06
(DIR) parent 816954d9ff4b06737cc350c2c0218080e8ec1d62
(HTM) Author: Mike Futerko <mike@maytech.net>
Date: Tue, 8 Dec 2020 20:57:36 +0200
Fix a typo
Diffstat:
M mem/file.go | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/mem/file.go b/mem/file.go
@@ -22,10 +22,9 @@ import (
"path/filepath"
"sync"
"sync/atomic"
+ "time"
)
-import "time"
-
const FilePathSeparator = string(filepath.Separator)
type File struct {
@@ -105,7 +104,7 @@ func SetUID(f *FileData, uid int) {
func SetGID(f *FileData, gid int) {
f.Lock()
- f.uid = gid
+ f.gid = gid
f.Unlock()
}