From a4a601f4bf9513ae5c833ca8817551f782c60395 Mon Sep 17 00:00:00 2001 From: Krisztian Szilvasi <34309983+kr-t@users.noreply.github.com> Date: Tue, 28 Oct 2025 10:23:57 +0100 Subject: [PATCH] Add VERSION_STRING check and move fs found message behind the debug message Signed-off-by: Krisztian Szilvasi <34309983+kr-t@users.noreply.github.com> --- src/shared/platform/posix/core_fs.c | 2 +- src/shared/platform/posix/core_internal.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/shared/platform/posix/core_fs.c b/src/shared/platform/posix/core_fs.c index ae37a679..76c2fddd 100644 --- a/src/shared/platform/posix/core_fs.c +++ b/src/shared/platform/posix/core_fs.c @@ -110,7 +110,7 @@ static int lsdir(const char *path) { } while ((entry = readdir(dirp)) != NULL) { - LOG_INF("Found: %s", entry->d_name); + LOG_DBG("Found: %s", entry->d_name); } if (closedir(dirp) < 0) { diff --git a/src/shared/platform/posix/core_internal.h b/src/shared/platform/posix/core_internal.h index c3f8f47b..0278daef 100644 --- a/src/shared/platform/posix/core_internal.h +++ b/src/shared/platform/posix/core_internal.h @@ -137,7 +137,9 @@ void set_argc(int argc); /** * @brief Application version string. */ +#ifndef APP_VERSION_STRING #define APP_VERSION_STRING "0.0.0-dev" +#endif /* APP_VERSION_STRING */ /** * @brief Default heap buffer size for WAMR (in bytes).