From d3a1f803088eb264259c8ec0bb2e90964bd576f5 Mon Sep 17 00:00:00 2001 From: yintao Date: Fri, 3 Jan 2025 19:39:53 +0800 Subject: [PATCH] coredump: add error print So we know if coredump exits with error, or there's no coredump. Signed-off-by: yintao --- system/coredump/coredump.c | 1 + 1 file changed, 1 insertion(+) diff --git a/system/coredump/coredump.c b/system/coredump/coredump.c index 3b4db4bcf..22a1f15d2 100644 --- a/system/coredump/coredump.c +++ b/system/coredump/coredump.c @@ -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; } }