Skip to content

Commit 622a50f

Browse files
author
Kyle Kearney
committed
KV_CONFIG: Change errors to use tr_error not tr_warning
1 parent e1b8570 commit 622a50f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

features/storage/kvstore/conf/kv_config.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,12 +184,12 @@ int _calculate_blocksize_match_tdbstore(BlockDevice *bd)
184184
bd_size_t number_of_sector = size / erase_size;
185185
bd_size_t number_of_page = size / page_size;
186186
if (number_of_sector < TDBStore::STORE_SECTORS) {
187-
tr_warning("KV Config: There are less than %d sectors - TDBStore will not work.", TDBStore::STORE_SECTORS);
187+
tr_error("KV Config: There are less than %d sectors - TDBStore will not work.", TDBStore::STORE_SECTORS);
188188
return -1;
189189
}
190190

191191
if (number_of_page < TDBStore::STORE_PAGES) {
192-
tr_warning("KV Config: There are less than %d pages - TDBStore will not work.", TDBStore::STORE_PAGES);
192+
tr_error("KV Config: There are less than %d pages - TDBStore will not work.", TDBStore::STORE_PAGES);
193193
return -1;
194194
}
195195

0 commit comments

Comments
 (0)