projects
/
apps
/
pfixtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix typo, and use the privileges drop.
[apps/pfixtools.git]
/
daemon.c
diff --git
a/daemon.c
b/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_privileg
i
es(const char *user, const char *group)
+int drop_privileges(const char *user, const char *group)
{
if (!geteuid()) {
struct passwd *pw;