From 9e1472ca00da95f037458a52e8de99deac6cf5a0 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sat, 30 Dec 2017 08:16:31 +0000 Subject: [PATCH] On further testing on actual machines with this hardware, we should only warn for devices that are attached. Add missing \n. --- sys/isa/isa_common.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/isa/isa_common.c b/sys/isa/isa_common.c index c95fe46655c..56fa0f2ba98 100644 --- a/sys/isa/isa_common.c +++ b/sys/isa/isa_common.c @@ -573,9 +573,10 @@ isa_probe_children(device_t dev) err = device_probe_and_attach(child); if (err == 0 && idev->id_vendorid == 0 && - strcmp(kern_ident, "GENERIC") == 0) + strcmp(kern_ident, "GENERIC") == 0 && + device_is_attached(child)) device_printf(child, - "non-PNP ISA device will be removed from GENERIC in FreeBSD 12."); + "non-PNP ISA device will be removed from GENERIC in FreeBSD 12.\n"); } /*