summaryrefslogtreecommitdiff
path: root/source3/smbd/trans2.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/trans2.c')
-rw-r--r--source3/smbd/trans2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 67db3aeb2a..72ad7ec12b 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -217,7 +217,7 @@ static int call_trans2open(connection_struct *conn, char *inbuf, char *outbuf,
unix_convert(fname,conn,0,&bad_path);
- fsp = find_free_file();
+ fsp = file_new();
if (!fsp)
return(ERROR(ERRSRV,ERRnofids));