1
0
mirror of https://github.com/chai2010/advanced-go-programming-book.git synced 2025-05-24 20:52:22 +00:00

Signed-off-by: sfw <909075325@qq.com>

This commit is contained in:
sfw 2018-06-15 16:15:14 +08:00
parent 79a4e35505
commit 968ed63a1a

View File

@ -401,7 +401,7 @@ type gatefs struct {
func (fs gatefs) Lstat(p string) (os.FileInfo, error) {
fs.enter()
defer fs.leave()
return fs.fs.Lstat(p)
return fs.Lstat(p)
}
```