Make autofs(5) timeout messages include affected process name and PID.

MFC after:	2 weeks
Sponsored by:	DARPA, AFRL
This commit is contained in:
Edward Tomasz Napierala
2020-03-16 16:17:58 +00:00
parent ee7a9e506e
commit fb48a42f03
+3 -2
View File
@@ -468,8 +468,9 @@ autofs_trigger_one(struct autofs_node *anp,
request_error = ar->ar_error;
if (request_error != 0) {
AUTOFS_WARN("request for %s completed with error %d",
ar->ar_path, request_error);
AUTOFS_WARN("request for %s completed with error %d, "
"pid %d (%s)", ar->ar_path, request_error,
curproc->p_pid, curproc->p_comm);
}
wildcards = ar->ar_wildcards;