mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 13:13:08 +08:00
sched/misc: correct coredump log format
since it has been replaced with https://github.com/apache/nuttx/blob/master/sched/misc/coredump.c#L763 and `nput` map to `off_t` https://github.com/apache/nuttx/blob/master/include/nuttx/streams.h#L98 align with other prints, reference: - https://github.com/apache/nuttx/blob/master/drivers/misc/rwbuffer.c#L1121 - https://github.com/apache/nuttx/blob/master/fs/mmap/fs_rammap.c#L84 - https://github.com/apache/nuttx/blob/master/libs/libc/elf/elf_read.c#L85 Signed-off-by: Junbo Zheng <zhengjunbo1@xiaomi.com>
This commit is contained in:
@@ -759,7 +759,7 @@ static void coredump_dump_dev(pid_t pid)
|
||||
return;
|
||||
}
|
||||
|
||||
_alert("Finish coredump, write %zu bytes to %s\n",
|
||||
_alert("Finish coredump, write %" PRIdOFF " bytes to %s\n",
|
||||
g_devstream.common.nput, CONFIG_BOARD_COREDUMP_DEVPATH);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user