reset: better error messages
authorØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 11 Jan 2010 11:54:49 +0000 (12:54 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 11 Jan 2010 11:58:06 +0000 (12:58 +0100)
commitfb71a0a0dddf68fa3f266aab5e35409773acc567
tree40e3b28e6b488cb53cb844f8063e18316c4be017
parent6d8604de37855da6e9acf79adbb488788bdc9917
reset: better error messages

Use correct tcl syntax to throw exception.

the syntax is "return -code error" not "return -error"

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/target/startup.tcl