Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci fix device name in printf when not matched
details: https://anonhg.NetBSD.org/src/rev/9fa5283fec78
branches: trunk
changeset: 323391:9fa5283fec78
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Wed Jun 13 20:18:54 2018 +0000
description:
fix device name in printf when not matched
diffstat:
sys/dev/pci/if_msk.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r b2f9b5eb09ed -r 9fa5283fec78 sys/dev/pci/if_msk.c
--- a/sys/dev/pci/if_msk.c Wed Jun 13 20:17:03 2018 +0000
+++ b/sys/dev/pci/if_msk.c Wed Jun 13 20:18:54 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_msk.c,v 1.63 2018/06/13 19:37:23 jdolecek Exp $ */
+/* $NetBSD: if_msk.c,v 1.64 2018/06/13 20:18:54 jdolecek Exp $ */
/* $OpenBSD: if_msk.c,v 1.65 2008/09/10 14:01:22 blambert Exp $ */
/*
@@ -52,7 +52,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_msk.c,v 1.63 2018/06/13 19:37:23 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_msk.c,v 1.64 2018/06/13 20:18:54 jdolecek Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1249,7 +1249,7 @@
struct skc_attach_args *sa = aux;
if (pnp)
- aprint_normal("sk port %c at %s",
+ aprint_normal("msk port %c at %s",
(sa->skc_port == SK_PORT_A) ? 'A' : 'B', pnp);
else
aprint_normal(" port %c", (sa->skc_port == SK_PORT_A) ? 'A' : 'B');
Home |
Main Index |
Thread Index |
Old Index