summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-01-04 18:08:16 +0000
committered <ed@FreeBSD.org>2010-01-04 18:08:16 +0000
commit6bae68025ed706fbbe22f41b7a549c63778df5a6 (patch)
treef4fdf3d4ca50380315d98909f3e25b31e3edf00c /usr.sbin
parent98e2905d7cef1555eb2288ba56931b2b0e0dd1bb (diff)
downloadFreeBSD-src-6bae68025ed706fbbe22f41b7a549c63778df5a6.zip
FreeBSD-src-6bae68025ed706fbbe22f41b7a549c63778df5a6.tar.gz
Unbreak bootparamd when setting WITHOUT_NIS.
Submitted by: bf1783 googlemail com
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/bootparamd/bootparamd/bootparamd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bootparamd/bootparamd/bootparamd.c b/usr.sbin/bootparamd/bootparamd/bootparamd.c
index c638730..5c1d264 100644
--- a/usr.sbin/bootparamd/bootparamd/bootparamd.c
+++ b/usr.sbin/bootparamd/bootparamd/bootparamd.c
@@ -191,9 +191,9 @@ int blen;
{
FILE *bpf;
char *where;
+#ifdef YP
static char *result;
int resultlen;
-#ifdef YP
static char *yp_domain;
#endif
@@ -294,9 +294,9 @@ int len;
int ch, pch;
FILE *bpf;
int res = 0;
+#ifdef YP
static char *result;
int resultlen;
-#ifdef YP
static char *yp_domain;
#endif
OpenPOWER on IntegriCloud