summaryrefslogtreecommitdiff
path: root/src/pkg/path/path.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/path/path.go')
-rw-r--r--src/pkg/path/path.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/path/path.go b/src/pkg/path/path.go
index e5b9e989d..59deb5ce9 100644
--- a/src/pkg/path/path.go
+++ b/src/pkg/path/path.go
@@ -7,7 +7,7 @@
package path
import (
- "io";
+ "io/ioutil";
"os";
"strings";
)
@@ -155,7 +155,7 @@ func walk(path string, d *os.Dir, v Visitor, errors chan<- os.Error) {
return // skip directory entries
}
- list, err := io.ReadDir(path);
+ list, err := ioutil.ReadDir(path);
if err != nil {
if errors != nil {
errors <- err