Fix typo, and use the privileges drop.
[apps/pfixtools.git] / daemon.c
index 1c74ed3..ebda967 100644 (file)
--- a/daemon.c
+++ b/daemon.c
@@ -152,7 +152,7 @@ int daemon_detach(void)
     return 0;
 }
 
-int drop_privilegies(const char *user, const char *group)
+int drop_privileges(const char *user, const char *group)
 {
     if (!geteuid()) {
         struct passwd *pw;