summaryrefslogtreecommitdiffstats
path: root/src/dabInputPrbs.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-01-12 21:54:07 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-01-12 21:54:07 +0100
commitf1874c259259a039227517a9cd58d7017a1bef34 (patch)
treefb1cc85521a67d5efb05434fe78cb43a4098e03d /src/dabInputPrbs.cpp
parente9c4e1762c3b7531ffe82dc26c67919ee38bfc3a (diff)
downloaddabmux-f1874c259259a039227517a9cd58d7017a1bef34.tar.gz
dabmux-f1874c259259a039227517a9cd58d7017a1bef34.tar.bz2
dabmux-f1874c259259a039227517a9cd58d7017a1bef34.zip
replace all occurrencies of TcpLog and old etiLog
Diffstat (limited to 'src/dabInputPrbs.cpp')
-rw-r--r--src/dabInputPrbs.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dabInputPrbs.cpp b/src/dabInputPrbs.cpp
index 3b7a0dc..b6455ed 100644
--- a/src/dabInputPrbs.cpp
+++ b/src/dabInputPrbs.cpp
@@ -61,7 +61,7 @@ int dabInputPrbsOpen(void* args, const char* name)
prbs_data* data = (prbs_data*)args;
if (*name != ':') {
- etiLog.print(TcpLog::ERR,
+ etiLog.log(error,
"Sorry, PRBS address format is prbs://:polynomial.\n");
errno = EINVAL;
return -1;
@@ -69,12 +69,12 @@ int dabInputPrbsOpen(void* args, const char* name)
long polynomial = strtol(++name, (char **)NULL, 10);
if ((polynomial == LONG_MIN) || (polynomial == LONG_MAX)) {
- etiLog.print(TcpLog::ERR, "can't convert polynomial number %s\n", name);
+ etiLog.log(error, "can't convert polynomial number %s\n", name);
errno = EINVAL;
return -1;
}
if (polynomial == 0) {
- etiLog.print(TcpLog::ERR, "you must specify a polynomial number\n");
+ etiLog.log(error, "you must specify a polynomial number\n");
errno = EINVAL;
return -1;
}