aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/syscall/fs_js.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/syscall/fs_js.go b/src/syscall/fs_js.go
index b36cefc69a..89459979af 100644
--- a/src/syscall/fs_js.go
+++ b/src/syscall/fs_js.go
@@ -38,9 +38,9 @@ type jsFile struct {
var filesMu sync.Mutex
var files = map[int]*jsFile{
- 0: &jsFile{},
- 1: &jsFile{},
- 2: &jsFile{},
+ 0: {},
+ 1: {},
+ 2: {},
}
func fdToFile(fd int) (*jsFile, error) {