summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2016-09-01 10:57:04 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2016-09-01 10:57:04 +0000
commit8657a2628ce6f1600bb1b3bf28b544b3ab9f9ff7 (patch)
tree0e1fd140cca5f4456cd0b71305a2f4ac1fe1085f
parent501efde21de64c82e07ec2c4b6c735ef614fcb38 (diff)
Adjust log message, use process title now that it works again
-rw-r--r--usr.sbin/httpd/proc.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.sbin/httpd/proc.c b/usr.sbin/httpd/proc.c
index 9422993dbc2..6fea129e5d5 100644
--- a/usr.sbin/httpd/proc.c
+++ b/usr.sbin/httpd/proc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: proc.c,v 1.20 2016/09/01 09:47:03 rzalamena Exp $ */
+/* $OpenBSD: proc.c,v 1.21 2016/09/01 10:57:03 reyk Exp $ */
/*
* Copyright (c) 2010 - 2014 Reyk Floeter <reyk@openbsd.org>
@@ -223,9 +223,11 @@ proc_listento(struct privsep *ps, int fd, enum privsep_procid dst, unsigned int
if (ps->ps_ievs[dst] == NULL) {
#if DEBUG > 1
- log_debug("%s: privsep_process=%d instance=%d dst=%d instance=%d not allocated",
- __func__, privsep_process, ps->ps_instance, dst, n);
-#endif /* DEBUG > 1 */
+ log_debug("%s: %s src %d %d to dst %d %d not connected",
+ __func__, ps->ps_title[privsep_process],
+ privsep_process, ps->ps_instance + 1,
+ dst, n + 1);
+#endif
close(fd);
return;
}