From 1009e7c0593bbcc4521846601d33f8be35edd681 Mon Sep 17 00:00:00 2001 From: jdolecek Date: Wed, 13 Jun 2018 20:18:54 +0000 Subject: [PATCH] fix device name in printf when not matched --- sys/dev/pci/if_msk.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/pci/if_msk.c b/sys/dev/pci/if_msk.c index cfc92a8c8046..ac7b4bb18149 100644 --- a/sys/dev/pci/if_msk.c +++ b/sys/dev/pci/if_msk.c @@ -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 -__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 #include @@ -1249,7 +1249,7 @@ mskcprint(void *aux, const char *pnp) 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');