Module Name: src Committed By: cegger Date: Mon May 11 21:13:09 UTC 2009
Modified Files: src/sys/dev/pci: alipm.c Log Message: use device_xname() To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/pci/alipm.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/pci/alipm.c diff -u src/sys/dev/pci/alipm.c:1.4 src/sys/dev/pci/alipm.c:1.5 --- src/sys/dev/pci/alipm.c:1.4 Wed May 6 10:34:32 2009 +++ src/sys/dev/pci/alipm.c Mon May 11 21:13:09 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: alipm.c,v 1.4 2009/05/06 10:34:32 cegger Exp $ */ +/* $NetBSD: alipm.c,v 1.5 2009/05/11 21:13:09 cegger Exp $ */ /* $OpenBSD: alipm.c,v 1.13 2007/05/03 12:19:01 dlg Exp $ */ /* @@ -18,7 +18,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: alipm.c,v 1.4 2009/05/06 10:34:32 cegger Exp $"); +__KERNEL_RCSID(0, "$NetBSD: alipm.c,v 1.5 2009/05/11 21:13:09 cegger Exp $"); #include <sys/param.h> #include <sys/device.h> @@ -251,7 +251,7 @@ int retries, error = 0; DPRINTF(("%s: exec op %d, addr 0x%x, cmdlen %d, len %d, " - "flags 0x%x\n", sc->sc_dev.dv_xname, op, addr, cmdlen, + "flags 0x%x\n", device_xname(&sc->sc_dev), op, addr, cmdlen, len, flags)); if (!I2C_OP_STOP_P(op) || cmdlen > 1 || len > 2)