Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/raidframe merge two debug lines in auto-root selection.



details:   https://anonhg.NetBSD.org/src/rev/64b903f9aab5
branches:  trunk
changeset: 363392:64b903f9aab5
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Mar 09 10:04:06 2022 +0000

description:
merge two debug lines in auto-root selection.

diffstat:

 sys/dev/raidframe/rf_netbsdkintf.c |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (35 lines):

diff -r d6db57d08c47 -r 64b903f9aab5 sys/dev/raidframe/rf_netbsdkintf.c
--- a/sys/dev/raidframe/rf_netbsdkintf.c        Wed Mar 09 08:43:28 2022 +0000
+++ b/sys/dev/raidframe/rf_netbsdkintf.c        Wed Mar 09 10:04:06 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_netbsdkintf.c,v 1.401 2021/09/09 23:26:37 riastradh Exp $   */
+/*     $NetBSD: rf_netbsdkintf.c,v 1.402 2022/03/09 10:04:06 mrg Exp $ */
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 2008-2011 The NetBSD Foundation, Inc.
@@ -101,7 +101,7 @@
  ***********************************************************/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.401 2021/09/09 23:26:37 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.402 2022/03/09 10:04:06 mrg Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_raid_autoconfig.h"
@@ -631,11 +631,11 @@
                            candidate_root);
                } else
                        candidate_root = dksc->sc_dev;
-               DPRINTF("%s: candidate root=%p\n", __func__, candidate_root);
-               DPRINTF("%s: booted_device=%p root_partition=%d "
-                       "contains_boot=%d",
-                   __func__, booted_device, rsc->sc_r.root_partition,
-                          rf_containsboot(&rsc->sc_r, booted_device));
+               DPRINTF("%s: candidate root=%p booted_device=%p "
+                       "root_partition=%d contains_boot=%d\n",
+                   __func__, candidate_root, booted_device,
+                   rsc->sc_r.root_partition,
+                   rf_containsboot(&rsc->sc_r, booted_device));
                /* XXX the check for booted_device == NULL can probably be
                 * dropped, now that rf_containsboot handles that case.
                 */



Home | Main Index | Thread Index | Old Index