artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
216954e
)
from netbsd; More descriptive message for printer status. Addresses PR #509
author
deraadt
<deraadt@openbsd.org>
Mon, 15 Jan 1996 20:11:33 +0000
(20:11 +0000)
committer
deraadt
<deraadt@openbsd.org>
Mon, 15 Jan 1996 20:11:33 +0000
(20:11 +0000)
usr.sbin/lpr/lpc/cmds.c
patch
|
blob
|
history
diff --git
a/usr.sbin/lpr/lpc/cmds.c
b/usr.sbin/lpr/lpc/cmds.c
index
094672e
..
0b9aff0
100644
(file)
--- a/
usr.sbin/lpr/lpc/cmds.c
+++ b/
usr.sbin/lpr/lpc/cmds.c
@@
-832,7
+832,7
@@
prstat()
fd = open(line, O_RDONLY);
if (fd < 0 || flock(fd, LOCK_SH|LOCK_NB) == 0) {
(void) close(fd); /* unlocks as well */
- printf("\t
no daemon present
\n");
+ printf("\t
printer idle
\n");
return;
}
(void) close(fd);