git: f7cacc680519 - main - acpi_gpiobus: clarify error message

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Mon, 21 Apr 2025 16:28:29 UTC
The branch main has been updated by emaste:

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

commit f7cacc6805191c87a668795eb94c643a51c62bca
Author:     Ahmad Khalifa <ahmadkhalifa570@gmail.com>
AuthorDate: 2025-03-11 11:45:22 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2025-04-21 16:28:14 +0000

    acpi_gpiobus: clarify error message
    
    This message was identical to another a few lines up, making it hard to
    tell where the error occurred.
    
    Reviewed-by: Ed Maste <emaste@FreeBSD.org>
    Reviewed-by: Warner Losh <imp@FreeBSD.org>
    Pull-request: https://github.com/freebsd/freebsd-src/pull/1667
    Signed-off-by: Ahmad Khalifa <ahmadkhalifa570@gmail.com>
---
 sys/dev/gpio/acpi_gpiobus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/gpio/acpi_gpiobus.c b/sys/dev/gpio/acpi_gpiobus.c
index 15c6b627e748..935f4bb4569c 100644
--- a/sys/dev/gpio/acpi_gpiobus.c
+++ b/sys/dev/gpio/acpi_gpiobus.c
@@ -356,7 +356,7 @@ acpi_gpiobus_attach(device_t dev)
 	    &ctx);
 
 	if (ACPI_FAILURE(status))
-		device_printf(dev, "Failed to enumerate GPIO resources\n");
+		device_printf(dev, "Failed to enumerate AEI resources\n");
 
 	return (0);
 }