summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-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 c7ca917af0..fed9c005d0 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -1480,7 +1480,7 @@ static void print_queue_update(int snum, BOOL force)
/* get the length */
- len = tdb_pack( buffer, len, "fdPP",
+ len = tdb_pack( NULL, 0, "fdPP",
sharename,
type,
lpqcommand,