Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern only print "init: trying /some/init" if RB_ASKNAME ...



details:   https://anonhg.NetBSD.org/src/rev/43b6ce661e5b
branches:  trunk
changeset: 535628:43b6ce661e5b
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sat Aug 24 00:47:17 2002 +0000

description:
only print "init: trying /some/init" if RB_ASKNAME or if it's not the first
path we're trying.  (the intent but not the behaviour of the previous rev.)

diffstat:

 sys/kern/init_main.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 475cfea48bb7 -r 43b6ce661e5b sys/kern/init_main.c
--- a/sys/kern/init_main.c      Fri Aug 23 21:49:13 2002 +0000
+++ b/sys/kern/init_main.c      Sat Aug 24 00:47:17 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: init_main.c,v 1.202 2002/08/23 06:17:08 lukem Exp $    */
+/*     $NetBSD: init_main.c,v 1.203 2002/08/24 00:47:17 lukem Exp $    */
 
 /*
  * Copyright (c) 1995 Christopher G. Demetriou.  All rights reserved.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: init_main.c,v 1.202 2002/08/23 06:17:08 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: init_main.c,v 1.203 2002/08/24 00:47:17 lukem Exp $");
 
 #include "fs_nfs.h"
 #include "opt_nfsserver.h"
@@ -673,7 +673,7 @@
 #ifdef DEBUG
                printf("init: copying out path `%s' %d\n", path, i);
 #else
-               if (boothowto & RB_ASKNAME || ipx > 0)
+               if (boothowto & RB_ASKNAME || path != initpaths[0])
                        printf("init: trying %s\n", path);
 #endif
                (void)copyout((caddr_t)path, (caddr_t)(ucp -= i), i);



Home | Main Index | Thread Index | Old Index