Skip to content

Commit f9e4f4b

Browse files
authored
Add VERSION_STRING check and move fs found message behind the debug message (#91)
Signed-off-by: Krisztian Szilvasi <34309983+kr-t@users.noreply.github.com>
1 parent 7345545 commit f9e4f4b

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/shared/platform/posix/core_fs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ static int lsdir(const char *path) {
110110
}
111111

112112
while ((entry = readdir(dirp)) != NULL) {
113-
LOG_INF("Found: %s", entry->d_name);
113+
LOG_DBG("Found: %s", entry->d_name);
114114
}
115115

116116
if (closedir(dirp) < 0) {

src/shared/platform/posix/core_internal.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,9 @@ void set_argc(int argc);
137137
/**
138138
* @brief Application version string.
139139
*/
140+
#ifndef APP_VERSION_STRING
140141
#define APP_VERSION_STRING "0.0.0-dev"
142+
#endif /* APP_VERSION_STRING */
141143

142144
/**
143145
* @brief Default heap buffer size for WAMR (in bytes).

0 commit comments

Comments
 (0)