summaryrefslogtreecommitdiff
path: root/usr.sbin/lpr/lpq/lpq.c
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>1996-05-15 13:42:00 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>1996-05-15 13:42:00 +0000
commita9fc1918f1d166c30ca216d07c4d2d057726a85d (patch)
tree6e8f217eaa310f37fd40205dd82d22fbacbba3bc /usr.sbin/lpr/lpq/lpq.c
parent11cbced3d1ae3d709ad1c9f57450eb4fe2c3a689 (diff)
previous fix of NULL check reversed
Diffstat (limited to 'usr.sbin/lpr/lpq/lpq.c')
-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 bcd0cc0bcff..02d25b3ca39 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")) == NULL)
+ if ((p = getenv("PRINTER")) != NULL)
printer = p;
}