Fix chdir call to use string instead of character.

This commit is contained in:
Joel Martin 2011-04-12 22:46:32 -05:00
parent 7858c194ca
commit 7307be683f
1 changed files with 1 additions and 1 deletions

View File

@ -425,7 +425,7 @@ void daemonize(int keepfd) {
int pid, i;
umask(0);
chdir('/');
chdir("/");
setgid(getgid());
setuid(getuid());