mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
coredump: use llx to fix coverity report
Signed-off-by: buxiasen <buxiasen@xiaomi.com>
This commit is contained in:
parent
04f49f179b
commit
b75e404ec1
1 changed files with 2 additions and 2 deletions
|
|
@ -211,9 +211,9 @@ static void coredump_restore(FAR char *savepath, size_t maxfile)
|
|||
/* 'date -d @$(printf "%d" 0x6720C67E)' restore utc to date */
|
||||
|
||||
ret = snprintf(dumppath, sizeof(dumppath),
|
||||
"%s/%.16s-%x"COREDUMP_FILE_SUFFIX,
|
||||
"%s/%.16s-%llx"COREDUMP_FILE_SUFFIX,
|
||||
savepath, info.name.version,
|
||||
(unsigned int)info.time.tv_sec);
|
||||
(unsigned long long)info.time.tv_sec);
|
||||
|
||||
while (ret--)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue