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 b6c4969761..cff6eb62ef 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -835,7 +835,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",