init not being setup correctly.
NetBSD:
date: 1993/07/10 03:25:03; author: cgd; state: Exp; lines: +4 -2
handle the initflags problem in a simple (if twisted) way.
handle the initflags problem in a simple (if twisted) way.
* SUCH DAMAGE.
*
* from: @(#)init_main.c 7.41 (Berkeley) 5/15/91
* SUCH DAMAGE.
*
* from: @(#)init_main.c 7.41 (Berkeley) 5/15/91
+ * $Id: init_main.c,v 1.7 1993/10/08 10:50:42 rgrimes Exp $
if (boothowto&RB_FASTBOOT)
*ip++ = 'f';
#endif
if (boothowto&RB_FASTBOOT)
*ip++ = 'f';
#endif
+ if (ip == initflags + 1)
+ *ip++ = '-';
*ip++ = '\0';
if (vm_allocate(&p->p_vmspace->vm_map, &addr,
*ip++ = '\0';
if (vm_allocate(&p->p_vmspace->vm_map, &addr,