git.samba.org
/
amitay
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: directory_create_or_exist() does not use "uid" parameter
[amitay/samba.git]
/
source3
/
lib
/
dumpcore.c
diff --git
a/source3/lib/dumpcore.c
b/source3/lib/dumpcore.c
index f284ea46738410cd9fef5bbd7f97a879e1a21535..487ccecc742ef14d4d7047448e9c82bbaf8acc41 100644
(file)
--- a/
source3/lib/dumpcore.c
+++ b/
source3/lib/dumpcore.c
@@
-67,7
+67,7
@@
static char *get_default_corepath(const char *logbase, const char *progname)
goto err_out;
}
- if (!directory_create_or_exist(tmp_corepath,
uid,
mode)) {
+ if (!directory_create_or_exist(tmp_corepath, mode)) {
DEBUG(0, ("Failed to create %s for user %d with mode 0%o\n",
tmp_corepath, (int)uid, (int)mode));
goto err_out;