mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 02:36:11 +08:00
nuttx/note:fix missing the last character when printing custom labels.
Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
This commit is contained in:
@@ -956,7 +956,7 @@ static int noteram_dump_one(FAR uint8_t *p, FAR struct lib_outstream_s *s,
|
||||
{
|
||||
FAR struct note_binary_s *nbi = (FAR struct note_binary_s *)p;
|
||||
char c = note->nc_type == NOTE_DUMP_BEGIN ? 'B' : 'E';
|
||||
int len = note->nc_length - sizeof(struct note_binary_s);
|
||||
int len = note->nc_length - SIZEOF_NOTE_EVENT(0);
|
||||
uintptr_t ip;
|
||||
|
||||
ip = nbi->nbi_ip;
|
||||
|
||||
Reference in New Issue
Block a user