summaryrefslogtreecommitdiffstats
path: root/src/dabInputPrbs.cpp
diff options
context:
space:
mode:
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;
}