mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
coredump: add error print
So we know if coredump exits with error, or there's no coredump. Signed-off-by: yintao <yintao@xiaomi.com>
This commit is contained in:
parent
1d1a8ba92e
commit
d3a1f80308
1 changed files with 1 additions and 0 deletions
|
|
@ -108,6 +108,7 @@ static int dumpfile_iterate(FAR char *path, dumpfile_cb_t cb, FAR void *arg)
|
|||
ret = mkdir(path, 0777);
|
||||
if (ret < 0)
|
||||
{
|
||||
printf("Coredump mkdir %s fail\n", path);
|
||||
return -errno;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue