File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ static int node_info( lua_State* L )
163163 int table_index = lua_gettop (L );
164164 lua_pushboolean (L , BUILDINFO_SSL );
165165 lua_setfield (L , table_index , "ssl" );
166- lua_pushnumber (L , BUILDINFO_LFS );
166+ lua_pushnumber (L , BUILDINFO_LFS_SIZE );
167167 lua_setfield (L , table_index , "lfs_size" );
168168 lua_pushstring (L , BUILDINFO_MODULES );
169169 lua_setfield (L , table_index , "modules" );
Original file line number Diff line number Diff line change @@ -22,9 +22,9 @@ cat > $TEMPFILE << EndOfMessage
2222#define BUILDINFO_TO_STR(x) BUILDINFO_STR_HELPER(x)
2323
2424#ifdef LUA_FLASH_STORE
25- #define BUILDINFO_LFS LUA_FLASH_STORE
25+ #define BUILDINFO_LFS_SIZE LUA_FLASH_STORE
2626#else
27- #define BUILDINFO_LFS 0
27+ #define BUILDINFO_LFS_SIZE 0
2828#endif
2929
3030#ifdef CLIENT_SSL_ENABLE
@@ -57,7 +57,7 @@ cat > $TEMPFILE << EndOfMessage
5757 "\trelease DTS: " BUILDINFO_RELEASE_DTS "\n" \\
5858 "\tSSL: " BUILDINFO_SSL_STR "\n" \\
5959 "\tbuild type: " BUILDINFO_BUILD_TYPE "\n" \\
60- "\tLFS: " BUILDINFO_TO_STR(BUILDINFO_LFS ) "\n" \\
60+ "\tLFS: " BUILDINFO_TO_STR(BUILDINFO_LFS_SIZE ) " bytes total capacity \n" \\
6161 "\tmodules: " BUILDINFO_MODULES "\n"
6262
6363EndOfMessage
You can’t perform that action at this time.
0 commit comments