From: deraadt Date: Mon, 15 Jan 1996 20:11:33 +0000 (+0000) Subject: from netbsd; More descriptive message for printer status. Addresses PR #509 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8d476b29b2635ee911ef868a9590b3f7988b5ccd;p=openbsd from netbsd; More descriptive message for printer status. Addresses PR #509 --- 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);