summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-04-20 23:58:26 +0200
committerJelmer Vernooij <jelmer@samba.org>2009-04-20 23:58:26 +0200
commit4c32978d973093903a5372a6f358275184bbcab2 (patch)
treeb7f0331f4909d125215c1ffe042cdec4d0e63172 /source3/utils
parent6fc40ce0d3b1bdfe9a138db4953896f47094424e (diff)
downloadsamba-4c32978d973093903a5372a6f358275184bbcab2.tar.gz
samba-4c32978d973093903a5372a6f358275184bbcab2.tar.bz2
samba-4c32978d973093903a5372a6f358275184bbcab2.zip
Remove smb_mkstemp() - libreplace will now provide a secure mkstemp() if
the system one is broken.
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_usershare.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_usershare.c b/source3/utils/net_usershare.c
index 7d3cb287a8..dadb88303b 100644
--- a/source3/utils/net_usershare.c
+++ b/source3/utils/net_usershare.c
@@ -859,7 +859,7 @@ static int net_usershare_add(struct net_context *c, int argc, const char **argv)
}
/* Create a temporary filename for this share. */
- tmpfd = smb_mkstemp(full_path_tmp);
+ tmpfd = mkstemp(full_path_tmp);
if (tmpfd == -1) {
d_fprintf(stderr, "net usershare add: cannot create tmp file %s\n",