From: David Brownell Date: Sun, 4 Apr 2010 08:28:50 +0000 (-0700) Subject: Restore deleted '!' character X-Git-Tag: v0.5.0-rc1~787 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2a17fd9f9b51516a830ba4b3ae2f2284929ff266;p=openocd 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 --- 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;