Change-Id: If0c3e9c9d08d029f9a492f911f0bb4f347e84d18
This commit is contained in:
qiulaidongfeng 2024-02-27 21:47:04 +08:00
parent 31de975af5
commit 3c351e4aa8
1 changed files with 1 additions and 2 deletions

View File

@ -115,8 +115,7 @@ func openFileNolog(name string, flag int, perm FileMode) (*File, error) {
}
return nil, &PathError{Op: "open", Path: name, Err: e}
}
f := newFile(r, name, "file")
return f, nil
return newFile(r, name, "file"), nil
}
func (file *file) close() error {