summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/anyrtpproxy/anyrtpproxy.cpp2
-rw-r--r--src/daemon.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/anyrtpproxy/anyrtpproxy.cpp b/src/anyrtpproxy/anyrtpproxy.cpp
index fdb809e..f3fdbae 100644
--- a/src/anyrtpproxy/anyrtpproxy.cpp
+++ b/src/anyrtpproxy/anyrtpproxy.cpp
@@ -211,7 +211,7 @@ void chrootAndDrop(string const& chrootdir, string const& username)
{
if (getuid() != 0)
{
- std::cerr << "this programm has to be run as root in order to run in a chroot" << std::endl;
+ std::cerr << "this program has to be run as root in order to run in a chroot" << std::endl;
exit(-1);
}
diff --git a/src/daemon.hpp b/src/daemon.hpp
index b62da17..124271f 100644
--- a/src/daemon.hpp
+++ b/src/daemon.hpp
@@ -97,7 +97,7 @@ private:
void do_chroot(std::string const& chrootdir)
{
if (getuid() != 0)
- AnytunError::throwErr() << "this programm has to be run as root in order to run in a chroot";
+ AnytunError::throwErr() << "this program has to be run as root in order to run in a chroot";
if(chroot(chrootdir.c_str()))
AnytunError::throwErr() << "can't chroot to " << chrootdir;