diff options
Diffstat (limited to 'src/os/removeall_noat.go')
-rw-r--r-- | src/os/removeall_noat.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/removeall_noat.go b/src/os/removeall_noat.go index c1b43e3807..7c888baaa9 100644 --- a/src/os/removeall_noat.go +++ b/src/os/removeall_noat.go @@ -23,7 +23,7 @@ func removeAll(path string) error { // so we don't permit it to remain consistent with the // "at" implementation of RemoveAll. if endsWithDot(path) { - return &PathError{"RemoveAll", path, syscall.EINVAL} + return &PathError{Op: "RemoveAll", Path: path, Err: syscall.EINVAL} } // Simple case: if Remove works, we're done. |