summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-11-01 19:24:47 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-11-01 19:24:47 +0000
commitba8a18eb95f163c5841bb4370de02e07b08340c2 (patch)
treefda6e149685c1fd323305243b1fc32f5ec63ec07
parentaa706bf858eed0bdebd607aabda41cb07b67fa7a (diff)
correct ipmi attach time failure messages (why this one machine fails...
still has to be looked at by marco when he has time)
-rw-r--r--sys/dev/ipmi.c8
1 files changed, 4 insertions, 4 deletions
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