svn commit: r341599 - head/sys/kern

Brooks Davis brooks at FreeBSD.org
Wed Dec 5 17:29:15 UTC 2018


Author: brooks
Date: Wed Dec  5 17:29:14 2018
New Revision: 341599
URL: https://svnweb.freebsd.org/changeset/base/341599

Log:
  Remove ifdef BOOTCDROM option to start init.
  
  When BOOTCDROM is defined (via CFLAGS as there is no config option)
  it causes -C to be passed to init, but our init and the version of
  sysinstall I glanced at in 6.x don't support -C. The last plausibly
  related support was removed from the tree in 1995.
  
  Reviewed by:	kib
  Sponsored by:	DARPA, AFRL
  Differential Revision:	https://reviews.freebsd.org/D18431

Modified:
  head/sys/kern/init_main.c

Modified: head/sys/kern/init_main.c
==============================================================================
--- head/sys/kern/init_main.c	Wed Dec  5 17:28:40 2018	(r341598)
+++ head/sys/kern/init_main.c	Wed Dec  5 17:29:14 2018	(r341599)
@@ -775,10 +775,6 @@ start_init(void *dummy)
 			options++;
 		}
 #endif
-#ifdef BOOTCDROM
-		*flagp++ = 'C';
-		options++;
-#endif
 		if (options == 0)
 			*flagp++ = '-';
 		*flagp++ = 0;


More information about the svn-src-all mailing list