summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorConstantine A. Murenin <cnst@cvs.openbsd.org>2008-06-11 23:22:08 +0000
committerConstantine A. Murenin <cnst@cvs.openbsd.org>2008-06-11 23:22:08 +0000
commit632308c1afc31b8e5a74596117c3850dfd83a5f2 (patch)
treea6c08dd04e12f7288c433dba9b24787f32e34a2a /sys/dev
parent860d626c678c69baabc8321885be8987123c2e08 (diff)
replace the last missing xname header before an error message in get_sdr(); ok deraadt
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ipmi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ipmi.c b/sys/dev/ipmi.c
index 3098dbddd11..b9397cc591d 100644
--- a/sys/dev/ipmi.c
+++ b/sys/dev/ipmi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipmi.c,v 1.63 2008/02/16 05:20:31 cnst Exp $ */
+/* $OpenBSD: ipmi.c,v 1.64 2008/06/11 23:22:07 cnst Exp $ */
/*
* Copyright (c) 2005 Jordan Hargrave
@@ -1156,7 +1156,8 @@ get_sdr(struct ipmi_softc *sc, u_int16_t recid, u_int16_t *nxtrec)
if (get_sdr_partial(sc, recid, resid, offset, len,
psdr + offset, NULL)) {
- printf(": get chunk: %d,%d fails\n", offset, len);
+ printf("%s: get chunk: %d,%d fails\n", DEVNAME(sc),
+ offset, len);
free(psdr, M_DEVBUF);
return (1);
}