summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-01 03:29:06 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-01 03:29:06 +0100
commitcdf8f5786387c4764fa790ab5def04dfff8b9af5 (patch)
treeba5cfc17c5d38f0be8acaab1d9149aeee55cb171 /source3/lib
parent161d70a57ae8a17dcbc9c426bfff33c8c51318b7 (diff)
downloadsamba-cdf8f5786387c4764fa790ab5def04dfff8b9af5.tar.gz
samba-cdf8f5786387c4764fa790ab5def04dfff8b9af5.tar.bz2
samba-cdf8f5786387c4764fa790ab5def04dfff8b9af5.zip
Use 'regular' chown, libreplace will provide (dummy) replacement if necessary.
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/fault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/fault.c b/source3/lib/fault.c
index d4c1142937..d038e57e1a 100644
--- a/source3/lib/fault.c
+++ b/source3/lib/fault.c
@@ -129,7 +129,7 @@ void dump_core_setup(const char *progname)
}
mkdir(corepath,0700);
- sys_chown(corepath,getuid(),getgid());
+ chown(corepath,getuid(),getgid());
chmod(corepath,0700);
SAFE_FREE(logbase);