libi2ncommon: (tomj) fix typo
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Fri, 4 Apr 2008 13:07:24 +0000 (13:07 +0000)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Fri, 4 Apr 2008 13:07:24 +0000 (13:07 +0000)
src/daemonfunc.cpp
src/daemonfunc.hxx

index cc570e9..b1040b2 100644 (file)
@@ -64,11 +64,11 @@ gid_t daemon::lookup_gid(const std::string &group)
 }
 
 /**
- * Drop root priviledges
+ * Drop root privileges
  * @param username User to become. Don't change user if empty
  * @param group Group to become. Don't change group if empty
  */
-void daemon::drop_root_priviledges(const std::string &username,
+void daemon::drop_root_privileges(const std::string &username,
                                                  const std::string &group)
 {
     if (!group.empty()) {
index 4e14560..ba26433 100644 (file)
@@ -18,7 +18,7 @@ public:
     static uid_t lookup_uid(const std::string &username);
     static gid_t lookup_gid(const std::string &group);
 
-    static void drop_root_priviledges(const std::string &username,
+    static void drop_root_privileges(const std::string &username,
                                                           const std::string &group);
 };