summaryrefslogtreecommitdiffstats
path: root/libgo/go/exp/ssh/common.go
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-12-03 02:17:34 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-12-03 02:17:34 +0000
commit6692ad1d1b2710fc619d04aad2ae0668cc59f4db (patch)
tree7f76eff391f37fe6467ff4ffbc0c582c9959ea30 /libgo/go/exp/ssh/common.go
parent96265ae6967d08ca35d36e87b7588c0c9e6e5cca (diff)
downloadppe42-gcc-6692ad1d1b2710fc619d04aad2ae0668cc59f4db.tar.gz
ppe42-gcc-6692ad1d1b2710fc619d04aad2ae0668cc59f4db.zip
libgo: Update to weekly.2011-11-02.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181964 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/go/exp/ssh/common.go')
-rw-r--r--libgo/go/exp/ssh/common.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/go/exp/ssh/common.go b/libgo/go/exp/ssh/common.go
index 739bd2f9c5f..f68c353a397 100644
--- a/libgo/go/exp/ssh/common.go
+++ b/libgo/go/exp/ssh/common.go
@@ -53,7 +53,7 @@ type UnexpectedMessageError struct {
expected, got uint8
}
-func (u UnexpectedMessageError) String() string {
+func (u UnexpectedMessageError) Error() string {
return "ssh: unexpected message type " + strconv.Itoa(int(u.got)) + " (expected " + strconv.Itoa(int(u.expected)) + ")"
}
@@ -62,7 +62,7 @@ type ParseError struct {
msgType uint8
}
-func (p ParseError) String() string {
+func (p ParseError) Error() string {
return "ssh: parse error in message type " + strconv.Itoa(int(p.msgType))
}
OpenPOWER on IntegriCloud