aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@netfilter.org>2009-12-21 23:36:45 +0100
committerHarald Welte <laforge@netfilter.org>2009-12-21 23:44:40 +0100
commita992a36d5f9e7a2d1bb7948784c69ea2e342b7d3 (patch)
tree2a1034773c0ccc3cdb2d1ca47b62a1d0678ebe9c
parentac0c13c02c16a2ae3188978665606ac8061f84e8 (diff)
it's LOGL_ERROR, not LOG_ERROR
-rw-r--r--openbsc/src/bsc_init.c2
-rw-r--r--openbsc/src/telnet_interface.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/src/bsc_init.c b/openbsc/src/bsc_init.c
index 61510435..a8a202e9 100644
--- a/openbsc/src/bsc_init.c
+++ b/openbsc/src/bsc_init.c
@@ -810,7 +810,7 @@ static int bootstrap_bts(struct gsm_bts *bts)
if (bts->network->auth_policy == GSM_AUTH_POLICY_ACCEPT_ALL &&
!bts->si_common.rach_control.cell_bar)
- LOGP(DNM, LOG_ERROR, "\nWARNING: You are running an 'accept-all' "
+ LOGP(DNM, LOGL_ERROR, "\nWARNING: You are running an 'accept-all' "
"network on a BTS that is not barred. This "
"configuration is likely to interfere with production "
"GSM networks and should only be used in a RF "
diff --git a/openbsc/src/telnet_interface.c b/openbsc/src/telnet_interface.c
index 2d7b05c7..bc91ca33 100644
--- a/openbsc/src/telnet_interface.c
+++ b/openbsc/src/telnet_interface.c
@@ -84,12 +84,12 @@ void telnet_init(struct gsm_network *network, int port) {
sock_addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
if (bind(fd, (struct sockaddr*)&sock_addr, sizeof(sock_addr)) < 0) {
- LOGP(DNM, LOG_ERROR, "Telnet interface failed to bind\n");
+ LOGP(DNM, LOGL_ERROR, "Telnet interface failed to bind\n");
return;
}
if (listen(fd, 0) < 0) {
- LOGP(DNM, LOG_ERROR, "Telnet interface failed to listen\n");
+ LOGP(DNM, LOGL_ERROR, "Telnet interface failed to listen\n");
return;
}