libs/libc/gdbstub/lib_gdbstub.c: fix warning
libs/libc/gdbstub/lib_gdbstub.c: fix warning Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
This commit is contained in:
parent
6f9d0c97d2
commit
9f93621b90
1 changed files with 2 additions and 2 deletions
|
@ -1376,11 +1376,11 @@ static int gdb_query(FAR struct gdb_state_s *state)
|
|||
{
|
||||
#ifdef CONFIG_ARCH_HAVE_DEBUG
|
||||
state->pkt_len = sprintf(state->pkt_buf,
|
||||
"hwbreak+;PacketSize=%x",
|
||||
"hwbreak+;PacketSize=%zx",
|
||||
sizeof(state->pkt_buf));
|
||||
#else
|
||||
state->pkt_len = sprintf(state->pkt_buf,
|
||||
"PacketSize=%x",
|
||||
"PacketSize=%zx",
|
||||
sizeof(state->pkt_buf));
|
||||
#endif
|
||||
gdb_send_packet(state);
|
||||
|
|
Loading…
Reference in a new issue