Author: kevans
Date: Wed Feb 20 20:34:43 2019
New Revision: 344383
URL: https://svnweb.freebsd.org/changeset/base/344383

Log:
  MFC r336283: Fix build after r344378
  
  Eliminate an unused var warning-error; the var is used only when parsing
  linux-style boot args, so wrap it in the appropriate ifdef.

Modified:
  stable/11/sys/arm/arm/machdep_boot.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/arm/arm/machdep_boot.c
==============================================================================
--- stable/11/sys/arm/arm/machdep_boot.c        Wed Feb 20 20:28:48 2019        
(r344382)
+++ stable/11/sys/arm/arm/machdep_boot.c        Wed Feb 20 20:34:43 2019        
(r344383)
@@ -68,7 +68,9 @@ __FBSDID("$FreeBSD$");
 #define        debugf(fmt, args...)
 #endif
 
+#ifdef LINUX_BOOT_ABI
 static char static_kenv[4096];
+#endif
 
 extern int *end;
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to