Module Name:    src
Committed By:   uwe
Date:           Thu Oct  7 00:11:08 UTC 2021

Modified Files:
        src/sys/dev/acpi: wss_acpi.c

Log Message:
Also print the device name with aprint_naive, like wss@pnpbios does.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/dev/acpi/wss_acpi.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/acpi/wss_acpi.c
diff -u src/sys/dev/acpi/wss_acpi.c:1.37 src/sys/dev/acpi/wss_acpi.c:1.38
--- src/sys/dev/acpi/wss_acpi.c:1.37	Wed Oct  6 20:10:42 2021
+++ src/sys/dev/acpi/wss_acpi.c	Thu Oct  7 00:11:08 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: wss_acpi.c,v 1.37 2021/10/06 20:10:42 uwe Exp $ */
+/* $NetBSD: wss_acpi.c,v 1.38 2021/10/07 00:11:08 uwe Exp $ */
 
 /*
  * Copyright (c) 2002 Jared D. McNeill <jmcne...@invisible.ca>
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wss_acpi.c,v 1.37 2021/10/06 20:10:42 uwe Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wss_acpi.c,v 1.38 2021/10/07 00:11:08 uwe Exp $");
 
 #include <sys/param.h>
 #include <sys/audioio.h>
@@ -181,7 +181,8 @@ wss_acpi_attach(device_t parent, device_
 	}
 
 	/* Attach our wss device */
-	aprint_normal("%s", device_xname(self)); /* NB: sic! */
+	aprint_naive("%s", device_xname(self));
+	aprint_normal("%s", device_xname(self));
 	wssattach(sc);
 
 	arg.type = AUDIODEV_TYPE_OPL;

Reply via email to