diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-02-27 19:09:57 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-02-27 19:09:57 +0000 |
commit | 98d85af740e831789ba7ec45ed45b3fc33b0f9d5 (patch) | |
tree | 7237fa5946125ffa244c72f0f6a734c419c20bad /sys | |
parent | acfe0a2ca383e09bf752276e0f53e420a679ecf2 (diff) |
clarify RPC timeout messages so regular people can understand; ok various
Diffstat (limited to 'sys')
-rw-r--r-- | sys/nfs/krpc_subr.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/nfs/krpc_subr.c b/sys/nfs/krpc_subr.c index bcc4da1eedc..1cca563d73f 100644 --- a/sys/nfs/krpc_subr.c +++ b/sys/nfs/krpc_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: krpc_subr.c,v 1.13 2004/11/18 15:09:07 markus Exp $ */ +/* $OpenBSD: krpc_subr.c,v 1.14 2007/02/27 19:09:56 deraadt Exp $ */ /* $NetBSD: krpc_subr.c,v 1.12.4.1 1996/06/07 00:52:26 cgd Exp $ */ /* @@ -349,8 +349,9 @@ krpc_call(sa, prog, vers, func, data, from_p, retries) if (timo < MAX_RESEND_DELAY) timo++; else - printf("RPC timeout for server 0x%x\n", - ntohl(sin->sin_addr.s_addr)); + printf("RPC timeout for server %s (0x%x) prog %u\n", + inet_ntoa(sin->sin_addr), + ntohl(sin->sin_addr.s_addr), prog); /* * Wait for up to timo seconds for a reply. |