fix warnings: fix LOG_X problems when compiling lte-softmodem
The compilation line was:
./build_oai --eNB -w USRP
The file openairinterface5g/cmake_targets/log/lte-softmodem.Rel10.txt
has been checked and all LOG_X (and 'msg') warnings have been fixed.
This commit is contained in:
@@ -72,7 +72,7 @@ void nas_user_api_id_initialize(nas_user_t *user) {
|
||||
user->user_api_id = user_api_id;
|
||||
char *port = make_port_str_from_ueid(NAS_PARSER_DEFAULT_USER_PORT_NUMBER, user->ueid);
|
||||
if ( port == NULL ) {
|
||||
LOG_E(NAS, "[UE %d] can't get port from ueid %d !", user->ueid);
|
||||
LOG_E(NAS, "[UE %d] can't get port from ueid!", user->ueid);
|
||||
exit (EXIT_FAILURE);
|
||||
}
|
||||
if (user_api_initialize (user_api_id, NAS_PARSER_DEFAULT_USER_HOSTNAME, port, NULL,
|
||||
@@ -106,7 +106,7 @@ void *nas_ue_task(void *args_p)
|
||||
/* Get USIM data application filename */
|
||||
user->usim_data_store = memory_get_path_from_ueid(USIM_API_NVRAM_DIRNAME, USIM_API_NVRAM_FILENAME, user->ueid);
|
||||
if ( user->usim_data_store == NULL ) {
|
||||
LOG_E(NAS, "[UE %d] - Failed to get USIM data application filename", user->ueid, user->ueid);
|
||||
LOG_E(NAS, "[UE %d] - Failed to get USIM data application filename", user->ueid);
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
|
||||
@@ -164,7 +164,7 @@ void nas_user_initialize(nas_user_t *user, emm_indication_callback_t emm_cb,
|
||||
/* Get UE data stored in the non-volatile memory device */
|
||||
int rc = memory_read(user->user_nvdata_store, user->nas_user_nvdata, sizeof(user_nvdata_t));
|
||||
if (rc != RETURNok) {
|
||||
LOG_TRACE(ERROR, "USR-MAIN - Failed to read %s", user->nas_user_nvdata);
|
||||
LOG_TRACE(ERROR, "USR-MAIN - Failed to read non volatile memory");
|
||||
abort();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user