]> git.sur5r.net Git - openocd/commitdiff
zy1000: fix breakage in command parsing code for power command
authorØyvind Harboe <oyvind.harboe@zylin.com>
Sun, 22 Nov 2009 12:16:48 +0000 (13:16 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Sun, 22 Nov 2009 12:38:42 +0000 (13:38 +0100)
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/jtag/zy1000/zy1000.c

index 28515c77bee1010bff32d90650087328f6b11f4a..8b5b753a5c0f8417d62826fe05fbf234bbd16e87 100644 (file)
@@ -235,7 +235,7 @@ COMMAND_HANDLER(handle_power_command)
                // fall through
        }
        case 0:
-               command_print(cmd_ctx, "Target power %s", savePower ? "on" : "off");
+               LOG_INFO("Target power %s", savePower ? "on" : "off");
                break;
        default:
                return ERROR_INVALID_ARGUMENTS;