summaryrefslogtreecommitdiff
path: root/source3/printing/printing.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/printing/printing.c')
-rw-r--r--source3/printing/printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index 0c9570b8c7..82516b352c 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -2371,7 +2371,7 @@ ssize_t print_job_write(struct tevent_context *ev,
return -1;
}
- return_code = write_data_at_offset(pjob->fd, buf, size, (SMB_OFF_T)-1);
+ return_code = write_data(pjob->fd, buf, size);
if (return_code>0) {
pjob->size += size;