summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-07-21 22:40:04 +0000
committerbrian <brian@FreeBSD.org>1997-07-21 22:40:04 +0000
commit547bc537a00c460addc85e1f69de4faa27b9c9a2 (patch)
tree439870bef3f9d967aa4b80c780ca6e338818eff5
parent34fa8c6ad3370cdfe919cd40497c91424fc5d26b (diff)
downloadFreeBSD-src-547bc537a00c460addc85e1f69de4faa27b9c9a2.zip
FreeBSD-src-547bc537a00c460addc85e1f69de4faa27b9c9a2.tar.gz
Output name of duplicate spool dir.
Submitted by: Wayne Scott <wscott@ichips.intel.com>
-rw-r--r--usr.sbin/lpr/lpd/lpd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/lpr/lpd/lpd.c b/usr.sbin/lpr/lpd/lpd.c
index 85148b1..65c8891 100644
--- a/usr.sbin/lpr/lpd/lpd.c
+++ b/usr.sbin/lpr/lpd/lpd.c
@@ -458,7 +458,8 @@ startup()
j++) {
if (strcmp(spooldir, spooldirs[j]) == 0) {
syslog(LOG_ERR,
- "startup: duplicate spool directories");
+ "startup: duplicate spool directories: %s",
+ spooldir);
mcleanup(0);
}
}
OpenPOWER on IntegriCloud