commit c897af242bb0e837ad551f4431bf268fbfeac9c1
parent 07bf3cb5be98b01b9471c690d46fed42593dd8e1
Author: Matsuda Kenji <info@mtkn.jp>
Date: Sat, 16 Sep 2023 07:18:20 +0900
fix plural
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/diskfs/stat_unix.go b/diskfs/stat_unix.go
@@ -48,7 +48,7 @@ func fiStat(pool *QidPool, id fileID, info fs.FileInfo) *lib9p.Stat {
}
}
-// TODO: when error occur, file stat should be restored.
+// TODO: when error occurs, file stat should be restored.
func (f *File) WStat(s *lib9p.Stat) error {
file, err := os.OpenFile(path.Join(f.fs.rootPath, f.path), os.O_RDWR, 0)
if err != nil {