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 )
163
163
int table_index = lua_gettop (L );
164
164
lua_pushboolean (L , BUILDINFO_SSL );
165
165
lua_setfield (L , table_index , "ssl" );
166
- lua_pushnumber (L , BUILDINFO_LFS );
166
+ lua_pushnumber (L , BUILDINFO_LFS_SIZE );
167
167
lua_setfield (L , table_index , "lfs_size" );
168
168
lua_pushstring (L , BUILDINFO_MODULES );
169
169
lua_setfield (L , table_index , "modules" );
Original file line number Diff line number Diff line change @@ -22,9 +22,9 @@ cat > $TEMPFILE << EndOfMessage
22
22
#define BUILDINFO_TO_STR(x) BUILDINFO_STR_HELPER(x)
23
23
24
24
#ifdef LUA_FLASH_STORE
25
- #define BUILDINFO_LFS LUA_FLASH_STORE
25
+ #define BUILDINFO_LFS_SIZE LUA_FLASH_STORE
26
26
#else
27
- #define BUILDINFO_LFS 0
27
+ #define BUILDINFO_LFS_SIZE 0
28
28
#endif
29
29
30
30
#ifdef CLIENT_SSL_ENABLE
@@ -57,7 +57,7 @@ cat > $TEMPFILE << EndOfMessage
57
57
"\trelease DTS: " BUILDINFO_RELEASE_DTS "\n" \\
58
58
"\tSSL: " BUILDINFO_SSL_STR "\n" \\
59
59
"\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" \\
61
61
"\tmodules: " BUILDINFO_MODULES "\n"
62
62
63
63
EndOfMessage
You can’t perform that action at this time.
0 commit comments