summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-10-11 20:31:51 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-10-11 20:31:51 +0000
commitfbf6d57c88befc80354d4817fc1e3df5d48f52de (patch)
treef26adafa5df37d87fb5608ea2cc3118afbc06ffa /sys/dev/pci
parent9907ad3fee04706157cd0e2da2bb86047e1e7e28 (diff)
Fix various printf constructs either missing arguments or format specifiers.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/drm/drm_drv.c2
-rw-r--r--sys/dev/pci/if_ix.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/drm/drm_drv.c b/sys/dev/pci/drm/drm_drv.c
index 437a76033cb..1d5873174ee 100644
--- a/sys/dev/pci/drm/drm_drv.c
+++ b/sys/dev/pci/drm/drm_drv.c
@@ -473,7 +473,7 @@ drmopen(dev_t kdev, int flags, int fmt, struct proc *p)
priv->kdev = kdev;
priv->flags = flags;
priv->minor = minor(kdev);
- DRM_DEBUG("minor = %d\n", DRM_CURRENTPID, priv->minor);
+ DRM_DEBUG("minor = %d\n", priv->minor);
/* for compatibility root is always authenticated */
priv->authenticated = DRM_SUSER(p);
diff --git a/sys/dev/pci/if_ix.c b/sys/dev/pci/if_ix.c
index a32f50555e2..0ba819967e7 100644
--- a/sys/dev/pci/if_ix.c
+++ b/sys/dev/pci/if_ix.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ix.c,v 1.9 2008/10/02 20:21:14 brad Exp $ */
+/* $OpenBSD: if_ix.c,v 1.10 2008/10/11 20:31:50 miod Exp $ */
/******************************************************************************
@@ -1361,7 +1361,7 @@ ixgbe_hardware_init(struct ix_softc *sc)
sc->hw.fc.send_xon = TRUE;
if (ixgbe_hw(&sc->hw, init_hw) != 0) {
- printf("%s: Hardware Initialization Failed");
+ printf("%s: Hardware Initialization Failed", ifp->if_xname);
return (EIO);
}
bcopy(sc->hw.mac.addr, sc->arpcom.ac_enaddr,