Skip to content

Commit

Permalink
A minor typo fix (open5gs#2707)
Browse files Browse the repository at this point in the history
* minor typo fix

* typo fix: faimly -> family
  • Loading branch information
isimluk authored Oct 28, 2023
1 parent e9c15f5 commit 490a3ec
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion lib/core/ogs-tlv.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ogs_tlv_t *ogs_tlv_get(void)
/* check for error */
ogs_assert(tlv);

/* intialize tlv node */
/* initialize tlv node */
memset(tlv, 0, sizeof(ogs_tlv_t));
return tlv;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/sctp/ogs-lksctp.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ ogs_sock_t *ogs_sctp_socket(int family, int type)
new = ogs_sock_socket(family, type, IPPROTO_SCTP);
if (!new) {
ogs_log_message(OGS_LOG_ERROR, ogs_socket_errno,
"ogs_sock_socket(faimly:%d type:%d) failed", family, type);
"ogs_sock_socket(family:%d type:%d) failed", family, type);
return NULL;
}

Expand Down
2 changes: 1 addition & 1 deletion src/amf/app.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ int app_initialize(const char *const argv[])
ogs_sctp_init(ogs_app()->usrsctp.udp_port);
rv = amf_initialize();
if (rv != OGS_OK) {
ogs_error("Failed to intialize AMF");
ogs_error("Failed to initialize AMF");
return rv;
}
ogs_info("AMF initialize...done");
Expand Down
2 changes: 1 addition & 1 deletion src/ausf/app.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ int app_initialize(const char *const argv[])

rv = ausf_initialize();
if (rv != OGS_OK) {
ogs_error("Failed to intialize AUSF");
ogs_error("Failed to initialize AUSF");
return rv;
}
ogs_info("AUSF initialize...done");
Expand Down
2 changes: 1 addition & 1 deletion src/bsf/app.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ int app_initialize(const char *const argv[])

rv = bsf_initialize();
if (rv != OGS_OK) {
ogs_error("Failed to intialize BSF");
ogs_error("Failed to initialize BSF");
return rv;
}
ogs_info("BSF initialize...done");
Expand Down
2 changes: 1 addition & 1 deletion src/hss/app-init.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ int app_initialize(const char *const argv[])

rv = hss_initialize();
if (rv != OGS_OK) {
ogs_warn("Failed to intialize HSS");
ogs_warn("Failed to initialize HSS");
return rv;
}
ogs_info("HSS initialize...done");
Expand Down
2 changes: 1 addition & 1 deletion src/mme/app-init.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ int app_initialize(const char *const argv[])
ogs_sctp_init(ogs_app()->usrsctp.udp_port);
rv = mme_initialize();
if (rv != OGS_OK) {
ogs_error("Failed to intialize MME");
ogs_error("Failed to initialize MME");
return rv;
}
ogs_info("MME initialize...done");
Expand Down
2 changes: 1 addition & 1 deletion src/nrf/app.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ int app_initialize(const char *const argv[])

rv = nrf_initialize();
if (rv != OGS_OK) {
ogs_error("Failed to intialize NRF");
ogs_error("Failed to initialize NRF");
return rv;
}
ogs_info("NRF initialize...done");
Expand Down
2 changes: 1 addition & 1 deletion src/nssf/app.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ int app_initialize(const char *const argv[])

rv = nssf_initialize();
if (rv != OGS_OK) {
ogs_warn("Failed to intialize NSSF");
ogs_warn("Failed to initialize NSSF");
return rv;
}
ogs_info("NSSF initialize...done");
Expand Down
2 changes: 1 addition & 1 deletion src/pcf/app.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ int app_initialize(const char *const argv[])

rv = pcf_initialize();
if (rv != OGS_OK) {
ogs_error("Failed to intialize PCF");
ogs_error("Failed to initialize PCF");
return rv;
}
ogs_info("PCF initialize...done");
Expand Down
2 changes: 1 addition & 1 deletion src/pcrf/app-init.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ int app_initialize(const char *const argv[])

rv = pcrf_initialize();
if (rv != OGS_OK) {
ogs_warn("Failed to intialize PCRF");
ogs_warn("Failed to initialize PCRF");
return rv;
}
ogs_info("PCRF initialize...done");
Expand Down
2 changes: 1 addition & 1 deletion src/scp/app.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ int app_initialize(const char *const argv[])

rv = scp_initialize();
if (rv != OGS_OK) {
ogs_error("Failed to intialize SCP");
ogs_error("Failed to initialize SCP");
return rv;
}
ogs_info("SCP initialize...done");
Expand Down
2 changes: 1 addition & 1 deletion src/sgwc/app.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ int app_initialize(const char *const argv[])

rv = sgwc_initialize();
if (rv != OGS_OK) {
ogs_error("Failed to intialize SGW-C");
ogs_error("Failed to initialize SGW-C");
return rv;
}
ogs_info("SGW-C initialize...done");
Expand Down
2 changes: 1 addition & 1 deletion src/sgwu/app.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ int app_initialize(const char *const argv[])

rv = sgwu_initialize();
if (rv != OGS_OK) {
ogs_error("Failed to intialize SGW-U");
ogs_error("Failed to initialize SGW-U");
return rv;
}
ogs_info("SGW-U initialize...done");
Expand Down
2 changes: 1 addition & 1 deletion src/smf/app.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ int app_initialize(const char *const argv[])

rv = smf_initialize();
if (rv != OGS_OK) {
ogs_error("Failed to intialize SMF");
ogs_error("Failed to initialize SMF");
return rv;
}
ogs_info("SMF initialize...done");
Expand Down
2 changes: 1 addition & 1 deletion src/udm/app.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ int app_initialize(const char *const argv[])

rv = udm_initialize();
if (rv != OGS_OK) {
ogs_error("Failed to intialize UDM");
ogs_error("Failed to initialize UDM");
return rv;
}
ogs_info("UDM initialize...done");
Expand Down
2 changes: 1 addition & 1 deletion src/udr/app.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ int app_initialize(const char *const argv[])

rv = udr_initialize();
if (rv != OGS_OK) {
ogs_warn("Failed to intialize UDR");
ogs_warn("Failed to initialize UDR");
return rv;
}
ogs_info("UDR initialize...done");
Expand Down
2 changes: 1 addition & 1 deletion src/upf/app.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ int app_initialize(const char *const argv[])

rv = upf_initialize();
if (rv != OGS_OK) {
ogs_error("Failed to intialize UPF");
ogs_error("Failed to initialize UPF");
return rv;
}
ogs_info("UPF initialize...done");
Expand Down

0 comments on commit 490a3ec

Please sign in to comment.