Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jan 2010 18:08:16 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r201521 - head/usr.sbin/bootparamd/bootparamd
Message-ID:  <201001041808.o04I8GJ3039357@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Mon Jan  4 18:08:16 2010
New Revision: 201521
URL: http://svn.freebsd.org/changeset/base/201521

Log:
  Unbreak bootparamd when setting WITHOUT_NIS.
  
  Submitted by:	bf1783 googlemail com

Modified:
  head/usr.sbin/bootparamd/bootparamd/bootparamd.c

Modified: head/usr.sbin/bootparamd/bootparamd/bootparamd.c
==============================================================================
--- head/usr.sbin/bootparamd/bootparamd/bootparamd.c	Mon Jan  4 18:04:36 2010	(r201520)
+++ head/usr.sbin/bootparamd/bootparamd/bootparamd.c	Mon Jan  4 18:08:16 2010	(r201521)
@@ -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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001041808.o04I8GJ3039357>