Skip to content

Commit 7095ac0

Browse files
author
Kyle Kearney
committed
KV_CONFIG: Change errors to use tr_error not tr_warning
1 parent 6e90bc2 commit 7095ac0

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
@@ -180,12 +180,12 @@ int _calculate_blocksize_match_tdbstore(BlockDevice *bd)
180180
bd_size_t number_of_sector = size / erase_size;
181181
bd_size_t number_of_page = size / page_size;
182182
if (number_of_sector < TDBStore::STORE_SECTORS) {
183-
tr_warning("KV Config: There are less than %d sectors - TDBStore will not work.", TDBStore::STORE_SECTORS);
183+
tr_error("KV Config: There are less than %d sectors - TDBStore will not work.", TDBStore::STORE_SECTORS);
184184
return -1;
185185
}
186186

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

0 commit comments

Comments
 (0)