diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-01-15 20:11:34 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-01-15 20:11:34 +0000 |
commit | a9bb6781205f1c7c7b36b259aa5c45420a013adf (patch) | |
tree | 26fb92521443809fab85d96140199eec95d49d46 /usr.sbin | |
parent | cfea93636dbff1db8196aa0ebe7cb54f17ab7f91 (diff) |
from netbsd; More descriptive message for printer status. Addresses PR #509
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/lpr/lpc/cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/lpr/lpc/cmds.c b/usr.sbin/lpr/lpc/cmds.c index 094672e2d8c..0b9aff00e2d 100644 --- 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("\tno daemon present\n"); + printf("\tprinter idle\n"); return; } (void) close(fd); |