From bb33710e45c6e3b4f6594b8c35c79e17c6e5466a Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 22 Feb 2009 16:00:00 +0000 Subject: remove useless log priorities CRIT,EMERG,ALERT --- src/bsd/tunDevice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/bsd') diff --git a/src/bsd/tunDevice.cpp b/src/bsd/tunDevice.cpp index 5d2b152..3494458 100644 --- a/src/bsd/tunDevice.cpp +++ b/src/bsd/tunDevice.cpp @@ -254,14 +254,14 @@ void TunDevice::do_ifconfig() int result = system(command.str().c_str()); if(result == -1) - cLog.msg(Log::PRIO_ERR) << "Execution of ifconfig failed" << AnytunErrno(errno); + cLog.msg(Log::PRIO_ERROR) << "Execution of ifconfig failed" << AnytunErrno(errno); else { if(WIFEXITED(result)) cLog.msg(Log::PRIO_NOTICE) << "ifconfig returned " << WEXITSTATUS(result); else if(WIFSIGNALED(result)) cLog.msg(Log::PRIO_NOTICE) << "ifconfig terminated after signal " << WTERMSIG(result); else - cLog.msg(Log::PRIO_ERR) << "Execution of ifconfig: unkown error"; + cLog.msg(Log::PRIO_ERROR) << "Execution of ifconfig: unkown error"; } } -- cgit v1.2.3