Skip to content

Commit d3a1f80

Browse files
yintaoxiaoxiang781216
yintao
authored andcommitted
coredump: add error print
So we know if coredump exits with error, or there's no coredump. Signed-off-by: yintao <[email protected]>
1 parent 1d1a8ba commit d3a1f80

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

system/coredump/coredump.c

+1
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ static int dumpfile_iterate(FAR char *path, dumpfile_cb_t cb, FAR void *arg)
108108
ret = mkdir(path, 0777);
109109
if (ret < 0)
110110
{
111+
printf("Coredump mkdir %s fail\n", path);
111112
return -errno;
112113
}
113114
}

0 commit comments

Comments
 (0)