X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=daemon.c;h=ebda9671ddebed14381f23a890f05f036ab686b9;hb=1ff926eac33152aee930a454ac1d3dec6e6e5faf;hp=1c74ed3bd639654a738048053fbf20e1a1e51907;hpb=f96ceff6aa49cd82a0eebde5aefbdc048292343d;p=apps%2Fpfixtools.git diff --git a/daemon.c b/daemon.c index 1c74ed3..ebda967 100644 --- 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;