From 2bac44c206415346622d237eb79ae77c02baf28e Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 29 May 2009 20:07:52 +0000 Subject: fixed spelling error --- src/anyrtpproxy/anyrtpproxy.cpp | 2 +- src/daemon.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; -- cgit v1.2.3