From ba8a18eb95f163c5841bb4370de02e07b08340c2 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 1 Nov 2007 19:24:47 +0000 Subject: correct ipmi attach time failure messages (why this one machine fails... still has to be looked at by marco when he has time) --- sys/dev/ipmi.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/ipmi.c b/sys/dev/ipmi.c index b5ef4e256bb..461bda522d1 100644 --- a/sys/dev/ipmi.c +++ b/sys/dev/ipmi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipmi.c,v 1.60 2007/10/08 04:15:15 krw Exp $ */ +/* $OpenBSD: ipmi.c,v 1.61 2007/11/01 19:24:46 deraadt Exp $ */ /* * Copyright (c) 2005 Jordan Hargrave @@ -1127,16 +1127,16 @@ get_sdr(struct ipmi_softc *sc, u_int16_t recid, u_int16_t *nxtrec) /* Reserve SDR */ if (ipmi_sendcmd(sc, BMC_SA, 0, STORAGE_NETFN, STORAGE_RESERVE_SDR, 0, NULL)) { - printf(": reserve send fails\n"); + printf("%s: reserve send fails\n", DEVNAME(sc)); return (-1); } if (ipmi_recvcmd(sc, sizeof(resid), &len, &resid)) { - printf(": reserve recv fails\n"); + printf("%s: reserve recv fails\n", DEVNAME(sc)); return (-1); } /* Get SDR Header */ if (get_sdr_partial(sc, recid, resid, 0, sizeof shdr, &shdr, nxtrec)) { - printf(": get header fails\n"); + printf("%s: get header fails\n", DEVNAME(sc)); return (-1); } /* Allocate space for entire SDR Length of SDR in header does not -- cgit v1.2.3