summaryrefslogtreecommitdiff
path: root/src/target/trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/trace.c')
-rw-r--r--src/target/trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/trace.c b/src/target/trace.c
index 7c1519cf..7d137d6c 100644
--- a/src/target/trace.c
+++ b/src/target/trace.c
@@ -123,7 +123,7 @@ static int handle_trace_history_command(struct command_context_s *cmd_ctx, char
uint32_t first = 0;
uint32_t last = trace->trace_history_pos;
- if (!trace->trace_history_size ) {
+ if (!trace->trace_history_size) {
command_print(cmd_ctx, "trace history buffer is not allocated");
return ERROR_OK;
}