summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2008-05-20 12:43:57 +0000
committerclaudio <claudio@openbsd.org>2008-05-20 12:43:57 +0000
commit11db67bae2507aa1abaa0d8d4b65f058ec53dfd3 (patch)
treef84b23f49798a57c19f21bae9cfa7ffffaf01ccd
parentvarious fixes to tidy these pages up; (diff)
downloadwireguard-openbsd-11db67bae2507aa1abaa0d8d4b65f058ec53dfd3.tar.xz
wireguard-openbsd-11db67bae2507aa1abaa0d8d4b65f058ec53dfd3.zip
Fix last commit, it is rtrequest1() and not rtrequest(). Lucky me it seems
that the code is ifdef-ed out all the time.
-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 ec6ec9a31f4..6aa5ceecd9b 100644
--- a/sys/nfs/nfs_boot.c
+++ b/sys/nfs/nfs_boot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_boot.c,v 1.21 2008/05/09 15:50:51 claudio Exp $ */
+/* $OpenBSD: nfs_boot.c,v 1.22 2008/05/20 12:43:57 claudio Exp $ */
/* $NetBSD: nfs_boot.c,v 1.26 1996/05/07 02:51:25 thorpej Exp $ */
/*
@@ -251,7 +251,7 @@ nfs_boot_init(nd, procp)
printf("nfs_boot: gateway=%s\n", inet_ntoa(gw_ip));
/* add, dest, gw, mask, flags, 0 */
- error = rtrequest(RTM_ADD, &info, RTP_STATIC, NULL, 0);
+ error = rtrequest1(RTM_ADD, &info, RTP_STATIC, NULL, 0);
if (error)
printf("nfs_boot: add route, error=%d\n", error);
}