From 4c32978d973093903a5372a6f358275184bbcab2 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 20 Apr 2009 23:58:26 +0200 Subject: Remove smb_mkstemp() - libreplace will now provide a secure mkstemp() if the system one is broken. --- source3/utils/net_usershare.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/utils/net_usershare.c') 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", -- cgit