From 2a17fd9f9b51516a830ba4b3ae2f2284929ff266 Mon Sep 17 00:00:00 2001 From: David Brownell Date: Sun, 4 Apr 2010 01:28:50 -0700 Subject: [PATCH] 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 --- src/target/target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5