summaryrefslogtreecommitdiff
path: root/src/sysexec.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysexec.hpp')
-rw-r--r--src/sysexec.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysexec.hpp b/src/sysexec.hpp
index 0730cea..9de28ec 100644
--- a/src/sysexec.hpp
+++ b/src/sysexec.hpp
@@ -53,7 +53,7 @@ int execScript(std::string const& script, std::string const& ifname, std::string
}
execl("/bin/sh", "/bin/sh", script.c_str(), ifname.c_str(), ifnode.c_str(), (char*)NULL);
// if execl return, an error occurred
- cLog.msg(Log::PRIO_ERR) << "error on executing script: " << LogErrno(errno);
+ cLog.msg(Log::PRIO_ERR) << "error on executing script: " << AnytunErrno(errno);
return -1;
}
int status = 0;