From 5243e3342f14ea9f300eadae1c8524571a933a1b Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Sat, 26 Jan 2019 15:19:34 +0200 Subject: 10305 print: NULL pointer errors Reviewed by: Robert Mustacchi Reviewed by: Gergő Mihály Doma Approved by: Dan McDonald MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- usr/src/cmd/print/bsd-sysv-commands/cancel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/src/cmd/print/bsd-sysv-commands/cancel.c') diff --git a/usr/src/cmd/print/bsd-sysv-commands/cancel.c b/usr/src/cmd/print/bsd-sysv-commands/cancel.c index 23359d9b5e..a4af36c298 100644 --- a/usr/src/cmd/print/bsd-sysv-commands/cancel.c +++ b/usr/src/cmd/print/bsd-sysv-commands/cancel.c @@ -200,7 +200,7 @@ main(int ac, char *av[]) /* Remove first job from printer */ status = papiPrinterListJobs(svc, printer, - NULL, NULL, 0, &jobs); + NULL, 0, 0, &jobs); if (status != PAPI_OK) { fprintf(stderr, gettext( -- cgit v1.2.3