From a9bb6781205f1c7c7b36b259aa5c45420a013adf Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 15 Jan 1996 20:11:34 +0000 Subject: 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(-) (limited to 'usr.sbin') 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); -- cgit v1.2.3