From f3723fe04d7a321ff8fa4ac8a8132e15bce95f06 Mon Sep 17 00:00:00 2001 From: Mike Futerko Date: Tue, 8 Dec 2020 20:57:36 +0200 Subject: [PATCH] Fix a typo --- mem/file.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mem/file.go b/mem/file.go index 7c08522..290369a 100644 --- 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() }