summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/printfsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/printfsp.c b/source3/printing/printfsp.c
index 821f46041d..ab628e29fc 100644
--- a/source3/printing/printfsp.c
+++ b/source3/printing/printfsp.c
@@ -86,7 +86,7 @@ NTSTATUS print_fsp_open(connection_struct *conn, const char *fname,
fsp->wcp = NULL;
SMB_VFS_FSTAT(fsp,fsp->fh->fd, &sbuf);
fsp->mode = sbuf.st_mode;
- fsp->file_id = file_id_sbuf(&sbuf);
+ fsp->file_id = vfs_file_id_from_sbuf(conn, &sbuf);
conn->num_files_open++;