summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-05-29 20:07:52 +0000
committerChristian Pointner <equinox@anytun.org>2009-05-29 20:07:52 +0000
commit2bac44c206415346622d237eb79ae77c02baf28e (patch)
tree6e29ebaa4f599d835569aea6c5e8e5880e9a9dd7
parentsome format cleanups in text files (diff)
fixed spelling error
-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;