Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb add missing newline and fix conditional for askr...



details:   https://anonhg.NetBSD.org/src/rev/2ae65f382822
branches:  trunk
changeset: 1023273:2ae65f382822
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Aug 31 08:22:28 2021 +0000

description:
add missing newline and fix conditional for askroot/single user
hand over delay message.  PR#56366.

diffstat:

 sys/dev/usb/ehci.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 5b633fc71176 -r 2ae65f382822 sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c        Mon Aug 30 23:27:13 2021 +0000
+++ b/sys/dev/usb/ehci.c        Tue Aug 31 08:22:28 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ehci.c,v 1.285 2021/01/05 18:00:21 skrll Exp $ */
+/*     $NetBSD: ehci.c,v 1.286 2021/08/31 08:22:28 mrg Exp $ */
 
 /*
  * Copyright (c) 2004-2012,2016,2020 The NetBSD Foundation, Inc.
@@ -54,7 +54,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.285 2021/01/05 18:00:21 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.286 2021/08/31 08:22:28 mrg Exp $");
 
 #include "ohci.h"
 #include "uhci.h"
@@ -2655,8 +2655,8 @@
        mutex_exit(&sc->sc_complock);
 
        config_pending_incr(sc->sc_dev);
-       aprint_normal("delaying %s by %u seconds due to USB owner change.",
-           (boothowto & RB_ASKNAME) == 0 ? "ask root" : "single user",
+       aprint_normal("delaying %s by %u seconds due to USB owner change.\n",
+           (boothowto & RB_ASKNAME) != 0 ? "ask root" : "single user",
            ehci_disown_delay_seconds);
 }
 



Home | Main Index | Thread Index | Old Index