Another copy/paste problem with a function name in a error printf.

This commit is contained in:
jakllsch 2011-09-08 15:36:42 +00:00
parent d8c7d8f2e8
commit 1578aa6f33
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ms_pckbport.c,v 1.7 2011/09/08 15:34:07 jakllsch Exp $ */
/* $NetBSD: ms_pckbport.c,v 1.8 2011/09/08 15:36:42 jakllsch Exp $ */
/*
* Copyright (c) 2002 Valeriy E. Ushakov
@ -27,7 +27,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ms_pckbport.c,v 1.7 2011/09/08 15:34:07 jakllsch Exp $");
__KERNEL_RCSID(0, "$NetBSD: ms_pckbport.c,v 1.8 2011/09/08 15:36:42 jakllsch Exp $");
/*
* Attach PS/2 mouse at pckbport aux port
@ -172,7 +172,7 @@ ms_pckbport_iclose(struct device *self, int flags)
res = pckbport_enqueue_cmd(sc->sc_kbctag, sc->sc_kbcslot,
cmd, 1, 0, 1, NULL);
if (res)
printf("pms_disable: command error\n");
printf("%s: command error\n", __func__);
pckbport_slot_enable(sc->sc_kbctag, sc->sc_kbcslot, 0);