aboutsummaryrefslogtreecommitdiff
path: root/src/os/root_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/root_windows.go')
-rw-r--r--src/os/root_windows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/root_windows.go b/src/os/root_windows.go
index 2ec09cf2d3..72fe170500 100644
--- a/src/os/root_windows.go
+++ b/src/os/root_windows.go
@@ -135,7 +135,7 @@ func rootOpenFileNolog(root *Root, name string, flag int, perm FileMode) (*File,
return nil, &PathError{Op: "openat", Path: name, Err: err}
}
// openat always returns a non-blocking handle.
- return newFile(fd, joinPath(root.Name(), name), "file", false), nil
+ return newFile(fd, joinPath(root.Name(), name), kindOpenFile, false), nil
}
func openat(dirfd syscall.Handle, name string, flag int, perm FileMode) (syscall.Handle, error) {