X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;ds=sidebyside;f=daemon.c;h=6c1321b20eb22a99649fdc9b98a00e73ce233301;hb=86d1ed7708fc577bb576b0c8725b513c9758eb36;hp=bb75478adae6f639b314fa7aa98a7ad2c3501e72;hpb=4594318afeb3d667eeaedf9c84a451ba83d0a638;p=paraslash.git diff --git a/daemon.c b/daemon.c index bb75478a..6c1321b2 100644 --- a/daemon.c +++ b/daemon.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1997-2008 Andre Noll + * Copyright (C) 1997-2009 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -116,7 +116,7 @@ void log_welcome(const char *whoami, int loglevel) * * \sa getpwnam(3), getuid(2), setuid(2), getgrnam(2), setgid(2) */ -void para_drop_privileges(const char *username, const char *groupname) +void drop_privileges_or_die(const char *username, const char *groupname) { struct passwd *p; char *tmp;