git: 67a9e76da6e6 - main - bus: Fix LINT / BUS_DEBUG build

Warner Losh imp at FreeBSD.org
Fri Sep 24 20:05:05 UTC 2021


The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=67a9e76da6e69ceee94a3b9c0fd490ed2f781938

commit 67a9e76da6e69ceee94a3b9c0fd490ed2f781938
Author:     Warner Losh <imp at FreeBSD.org>
AuthorDate: 2021-09-24 20:03:10 +0000
Commit:     Warner Losh <imp at FreeBSD.org>
CommitDate: 2021-09-24 20:04:39 +0000

    bus: Fix LINT / BUS_DEBUG build
    
    Fix 0389e9be63c5e for LINT built. Removed an arg only from code
    under BUS_DEBUG w/o rebuilding LINT...
    
    Sponsored by:           Netflix
    Fixes: 0389e9be63c5e24ecedbb366c5682ddc2ff4de60
---
 sys/kern/subr_bus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/kern/subr_bus.c b/sys/kern/subr_bus.c
index 3f84b6e0c56d..958e0aa413d4 100644
--- a/sys/kern/subr_bus.c
+++ b/sys/kern/subr_bus.c
@@ -5298,7 +5298,7 @@ print_device_short(device_t dev, int indent)
 	if (!dev)
 		return;
 
-	indentprintf(("device %d: <%s> %sparent,%schildren,%s%s%s%s%s%s,%sivars,%ssoftc,busy=%d\n",
+	indentprintf(("device %d: <%s> %sparent,%schildren,%s%s%s%s%s,%sivars,%ssoftc,busy=%d\n",
 	    dev->unit, dev->desc,
 	    (dev->parent? "":"no "),
 	    (TAILQ_EMPTY(&dev->children)? "no ":""),


More information about the dev-commits-src-all mailing list