diff options
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_usershare.c | 2 |
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", |