summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lpr/lpc/lpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/lpr/lpc/lpc.c')
-rw-r--r--usr.sbin/lpr/lpc/lpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/lpr/lpc/lpc.c b/usr.sbin/lpr/lpc/lpc.c
index e58911c..9d237eb 100644
--- a/usr.sbin/lpr/lpc/lpc.c
+++ b/usr.sbin/lpr/lpc/lpc.c
@@ -201,7 +201,7 @@ cmdscanner(void)
makeargv();
if (margc == 0)
continue;
- if (el_parse(el, margc, margv) != -1)
+ if (el!= NULL && el_parse(el, margc, margv) != -1)
continue;
c = getcmd(margv[0]);
OpenPOWER on IntegriCloud