summaryrefslogtreecommitdiff
path: root/usr.sbin/lpr/lpq
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>1996-05-06 06:41:14 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>1996-05-06 06:41:14 +0000
commitd58d530410406610225ddb7ce8651d1ad361d299 (patch)
tree852e031763d396e155ddfa7706c48892969cce88 /usr.sbin/lpr/lpq
parent758bd8b27107f6cb7f331e8f61b8373d1f8f5ab2 (diff)
Missing ' == NULL)' added...
Diffstat (limited to 'usr.sbin/lpr/lpq')
-rw-r--r--usr.sbin/lpr/lpq/lpq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/lpr/lpq/lpq.c b/usr.sbin/lpr/lpq/lpq.c
index 8559dc93cda..bcd0cc0bcff 100644
--- a/usr.sbin/lpr/lpq/lpq.c
+++ b/usr.sbin/lpr/lpq/lpq.c
@@ -108,7 +108,7 @@ main(argc, argv)
char *p;
printer = DEFLP;
- if ((p = getenv("PRINTER"))
+ if ((p = getenv("PRINTER")) == NULL)
printer = p;
}