diff options
author | Christian Pointner <equinox@anytun.org> | 2009-02-22 07:51:26 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2009-02-22 07:51:26 +0000 |
commit | 5850046cf4bf3146c7da097f9ff3dec01459b640 (patch) | |
tree | 112fc3503c379be693b7b4cf88adba102312e924 /src/sysexec.hpp | |
parent | replaced regular throws with AnytunError::thowErr (diff) |
moved LogErrno to AnytunErrno
Diffstat (limited to 'src/sysexec.hpp')
-rw-r--r-- | src/sysexec.hpp | 2 |
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; |