summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2010-04-04 01:28:50 -0700
committerDavid Brownell <dbrownell@users.sourceforge.net>2010-04-04 01:29:24 -0700
commit2a17fd9f9b51516a830ba4b3ae2f2284929ff266 (patch)
treef75abd970443a244f54437a8a333edd681f4ff2c /src
parent876bf9bf4cd5fc2640d91811fb69c0d36f9e2c18 (diff)
downloadopenocd_libswd-2a17fd9f9b51516a830ba4b3ae2f2284929ff266.tar.gz
openocd_libswd-2a17fd9f9b51516a830ba4b3ae2f2284929ff266.tar.bz2
openocd_libswd-2a17fd9f9b51516a830ba4b3ae2f2284929ff266.tar.xz
openocd_libswd-2a17fd9f9b51516a830ba4b3ae2f2284929ff266.zip
Restore deleted '!' character
I'm not sure what caused this significant character to get deleted. it may be related to intermittent Editor or terminal flakes I've been seeing lately (sigh). This fix is trivial. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src')
-rw-r--r--src/target/target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/target.c b/src/target/target.c
index 286933f4..f3d63fcc 100644
--- a/src/target/target.c
+++ b/src/target/target.c
@@ -658,7 +658,7 @@ int target_run_algorithm(struct target *target,
LOG_ERROR("Target not examined yet");
goto done;
}
- if (target->type->run_algorithm) {
+ if (!target->type->run_algorithm) {
LOG_ERROR("Target type '%s' does not support %s",
target_type_name(target), __func__);
goto done;