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).