svn commit: r201521 - head/usr.sbin/bootparamd/bootparamd

Ed Schouten ed at FreeBSD.org
Mon Jan 4 18:08:16 UTC 2010


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
 


More information about the svn-src-all mailing list