diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-12-02 19:34:41 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-12-02 19:34:41 +0000 |
commit | 506cf9aaead4f5519f5549a918d285365b44e989 (patch) | |
tree | fe0344f264049738dca876a6dd2f69e96621ca17 /libgo/go/archive/zip/struct.go | |
parent | bfa9b58039ceacb1bae803fbbfb049b93540f2a7 (diff) |
libgo: Update to weekly.2011-11-01.
From-SVN: r181938
Diffstat (limited to 'libgo/go/archive/zip/struct.go')
-rw-r--r-- | libgo/go/archive/zip/struct.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libgo/go/archive/zip/struct.go b/libgo/go/archive/zip/struct.go index a32de5a9e0d..4f9f599a148 100644 --- a/libgo/go/archive/zip/struct.go +++ b/libgo/go/archive/zip/struct.go @@ -60,10 +60,10 @@ type directoryEnd struct { comment string } -func recoverError(err *os.Error) { +func recoverError(errp *os.Error) { if e := recover(); e != nil { - if osErr, ok := e.(os.Error); ok { - *err = osErr + if err, ok := e.(os.Error); ok { + *errp = err return } panic(e) |