From 1a71d3bdd7707da8b6a530b3a13810647c98e235 Mon Sep 17 00:00:00 2001 From: Ron Pedde Date: Sun, 26 Mar 2006 19:47:30 +0000 Subject: [PATCH] tab exapand --- src/os-unix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/os-unix.c b/src/os-unix.c index 4da0b9e3..87d92f93 100644 --- a/src/os-unix.c +++ b/src/os-unix.c @@ -193,7 +193,7 @@ int os_syslog(int level, char *msg) { /** * os-specific chown * - * + * */ extern int os_chown(char *path, char *user) { struct passwd *pw=NULL; @@ -210,7 +210,7 @@ extern int os_chown(char *path, char *user) { if(pw) { if(initgroups(user,pw->pw_gid) != 0 || - chown(path, pw->pw_uid, pw->pw_gid) != 0) { + chown(path, pw->pw_uid, pw->pw_gid) != 0) { DPRINTF(E_LOG,L_MISC,"Couldn't chown %s, gid=%d, uid=%d\n", user,pw->pw_gid, pw->pw_uid); return FALSE;