mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
coredump app: type of info->time has changed into timespec
Signed-off-by: wanggang26 <wanggang26@xiaomi.com>
This commit is contained in:
parent
6588ce4840
commit
cb24b748a5
1 changed files with 1 additions and 1 deletions
|
|
@ -205,7 +205,7 @@ static void coredump_restore(FAR char *savepath, size_t maxfile)
|
|||
ret = snprintf(dumppath, sizeof(dumppath),
|
||||
"%s/core-%s", savepath,
|
||||
info->name.version);
|
||||
dtime = localtime(&info->time);
|
||||
dtime = localtime(&info->time.tv_sec);
|
||||
if (dtime)
|
||||
{
|
||||
ret += snprintf(dumppath + ret, sizeof(dumppath) - ret,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue