summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2008-05-27 04:30:50 +0000
committerderaadt <deraadt@openbsd.org>2008-05-27 04:30:50 +0000
commit39529570bed18a1e5d2ebe0a98bf00c40fede877 (patch)
treec3a35f52d5d6a87a0ef8f16e9d1b3a9f6c6c62d3
parentsync (diff)
downloadwireguard-openbsd-39529570bed18a1e5d2ebe0a98bf00c40fede877.tar.xz
wireguard-openbsd-39529570bed18a1e5d2ebe0a98bf00c40fede877.zip
be much more clear about revarp failures; ok miod
-rw-r--r--sys/nfs/nfs_boot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfs_boot.c b/sys/nfs/nfs_boot.c
index 6aa5ceecd9b..22d017c2ff4 100644
--- a/sys/nfs/nfs_boot.c
+++ b/sys/nfs/nfs_boot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_boot.c,v 1.22 2008/05/20 12:43:57 claudio Exp $ */
+/* $OpenBSD: nfs_boot.c,v 1.23 2008/05/27 04:30:50 deraadt Exp $ */
/* $NetBSD: nfs_boot.c,v 1.26 1996/05/07 02:51:25 thorpej Exp $ */
/*
@@ -175,7 +175,7 @@ nfs_boot_init(nd, procp)
* Do RARP for the interface address.
*/
if ((error = revarpwhoami(&my_ip, ifp)) != 0)
- panic("revarp failed, error=%d", error);
+ panic("reverse arp not answered by rarpd(8) or dhcpd(8)");
printf("nfs_boot: client_addr=%s\n", inet_ntoa(my_ip));
/*