diff options
author | Ben Elliston <bje@gnu.org> | 2016-03-29 21:41:15 +1100 |
---|---|---|
committer | Ben Elliston <bje@gnu.org> | 2016-03-29 21:41:15 +1100 |
commit | 5ee75eaae7845cb1dee5535d757b8be45b14ad01 (patch) | |
tree | 0dea6a30dbee6748d16fab40e9d64c9ccb2d7935 /lib | |
parent | 6459cc2e98caf981af7d0c7d4369d19e1c0b4cf5 (diff) | |
download | dejagnu-5ee75eaae7845cb1dee5535d757b8be45b14ad01.zip dejagnu-5ee75eaae7845cb1dee5535d757b8be45b14ad01.tar.gz dejagnu-5ee75eaae7845cb1dee5535d757b8be45b14ad01.tar.bz2 |
* lib/remote.exp (remote_expect): Fix spelling error.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/remote.exp | 6 |
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 } } |