aboutsummaryrefslogtreecommitdiff
path: root/src/os/file_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/file_windows.go')
-rw-r--r--src/os/file_windows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/file_windows.go b/src/os/file_windows.go
index 245f994321..cf652ca1bb 100644
--- a/src/os/file_windows.go
+++ b/src/os/file_windows.go
@@ -288,7 +288,7 @@ func Link(oldname, newname string) error {
// If there is an error, it will be of type *LinkError.
func Symlink(oldname, newname string) error {
// '/' does not work in link's content
- oldname = fromSlash(oldname)
+ oldname = filepathlite.FromSlash(oldname)
// need the exact location of the oldname when it's relative to determine if it's a directory
destpath := oldname