From 8d476b29b2635ee911ef868a9590b3f7988b5ccd Mon Sep 17 00:00:00 2001 From: deraadt Date: Mon, 15 Jan 1996 20:11:33 +0000 Subject: [PATCH] from netbsd; More descriptive message for printer status. Addresses PR #509 --- usr.sbin/lpr/lpc/cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1