summaryrefslogtreecommitdiff
path: root/usr/src/cmd/print/bsd-sysv-commands/cancel.c
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2019-01-26 15:19:34 +0200
committerDan McDonald <danmcd@joyent.com>2019-02-04 11:11:46 -0500
commit5243e3342f14ea9f300eadae1c8524571a933a1b (patch)
tree135e18da8782e2186cbdda0519c1e722cf39475b /usr/src/cmd/print/bsd-sysv-commands/cancel.c
parent4f6502b6d39d77ac4bfb06b65b8ef1bb89b010ba (diff)
downloadillumos-joyent-5243e3342f14ea9f300eadae1c8524571a933a1b.tar.gz
10305 print: NULL pointer errors
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/cmd/print/bsd-sysv-commands/cancel.c')
-rw-r--r--usr/src/cmd/print/bsd-sysv-commands/cancel.c2
1 files changed, 1 insertions, 1 deletions
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(