Author: trasz Date: Mon Mar 16 16:17:58 2020 New Revision: 359017 URL: https://svnweb.freebsd.org/changeset/base/359017
Log: Make autofs(5) timeout messages include affected process name and PID. MFC after: 2 weeks Sponsored by: DARPA, AFRL Modified: head/sys/fs/autofs/autofs.c Modified: head/sys/fs/autofs/autofs.c ============================================================================== --- head/sys/fs/autofs/autofs.c Mon Mar 16 14:03:27 2020 (r359016) +++ head/sys/fs/autofs/autofs.c Mon Mar 16 16:17:58 2020 (r359017) @@ -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; _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"