summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/printing/print_generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/print_generic.c b/source3/printing/print_generic.c
index 1cbe4a080f..4665a78609 100644
--- a/source3/printing/print_generic.c
+++ b/source3/printing/print_generic.c
@@ -213,7 +213,7 @@ static int generic_queue_get(int snum, print_queue_struct **q, print_status_stru
/* turn the lpq output into a series of job structures */
qcount = 0;
- ZERO_STRUCT(status);
+ ZERO_STRUCTP(status);
if (numlines)
queue = (print_queue_struct *)malloc(sizeof(print_queue_struct)*(numlines+1));