Skip to content

Commit

Permalink
command: Fixed cmd_halt_timeout's gdb_outf() using %d for an unsign…
Browse files Browse the repository at this point in the history
…ed int
  • Loading branch information
dragonmux authored and esden committed Jan 12, 2024
1 parent 8e8dda1 commit 2a057cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/command.c
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ static bool cmd_halt_timeout(target_s *t, int argc, const char **argv)
(void)t;
if (argc > 1)
cortexm_wait_timeout = strtoul(argv[1], NULL, 0);
gdb_outf("Cortex-M timeout to wait for device halts: %d\n", cortexm_wait_timeout);
gdb_outf("Cortex-M timeout to wait for device halts: %u\n", cortexm_wait_timeout);
return true;
}

Expand Down

0 comments on commit 2a057cd

Please sign in to comment.