summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 e788645306..79cab3d9fa 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -855,7 +855,7 @@ static void store_queue_struct(struct tdb_print_db *pdb, struct traverse_struct
/* Work out the size. */
data.dsize = 0;
- data.dsize += tdb_pack(NULL, 0, NULL, "d", qcount);
+ data.dsize += tdb_pack(NULL, 0, "d", qcount);
for (i = 0; i < pts->qcount; i++) {
data.dsize += tdb_pack(NULL, 0, "ddddddff",