aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/os/path.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/os/path.go')
-rw-r--r--libgo/go/os/path.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/os/path.go b/libgo/go/os/path.go
index 74c83ab..b762971 100644
--- a/libgo/go/os/path.go
+++ b/libgo/go/os/path.go
@@ -14,7 +14,7 @@ package os
// and returns nil.
func MkdirAll(path string, perm uint32) Error {
// If path exists, stop with success or error.
- dir, err := Lstat(path)
+ dir, err := Stat(path)
if err == nil {
if dir.IsDirectory() {
return nil