aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBen Elliston <bje@gnu.org>2016-03-29 21:41:15 +1100
committerBen Elliston <bje@gnu.org>2016-03-29 21:41:15 +1100
commit5ee75eaae7845cb1dee5535d757b8be45b14ad01 (patch)
tree0dea6a30dbee6748d16fab40e9d64c9ccb2d7935 /lib
parent6459cc2e98caf981af7d0c7d4369d19e1c0b4cf5 (diff)
* lib/remote.exp (remote_expect): Fix spelling error.
Diffstat (limited to 'lib')
-rw-r--r--lib/remote.exp6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/remote.exp b/lib/remote.exp
index 550f487..95b6e9e 100644
--- a/lib/remote.exp
+++ b/lib/remote.exp
@@ -1294,12 +1294,14 @@ proc remote_expect { board timeout args } {
}
if {$code == 1} {
- if {[info exists string]} {send_user "ERROR OCCURED: $errorInfo $errorCode $string"}
+ if {[info exists string]} {
+ send_user "ERROR OCCURRED: $errorInfo $errorCode $string"
+ }
if { $error_sect != "" } {
set code [catch {uplevel $error_sect} string]
} else {
- warning "remote_expect statement without a default case?!"
+ warning "remote_expect statement without a default case"
return
}
}