summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2013-03-02 12:25:55 +0000
committerjsing <jsing@openbsd.org>2013-03-02 12:25:55 +0000
commit201e9d317f578f4b4bf945d9f8cbc4f2a6f9c503 (patch)
tree071d28efba459d9bdca27422c65e04a5f9412668
parentProperly conditionalize adding wscons to the list of consoles on (diff)
downloadwireguard-openbsd-201e9d317f578f4b4bf945d9f8cbc4f2a6f9c503.tar.xz
wireguard-openbsd-201e9d317f578f4b4bf945d9f8cbc4f2a6f9c503.zip
Unbreak softraid compilation with debug enabled.
Prompted by Dmitry Bogdan.
-rw-r--r--sys/dev/softraid_concat.c4
-rw-r--r--sys/dev/softraid_raid0.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/softraid_concat.c b/sys/dev/softraid_concat.c
index 4ae164fef5d..66f40cf3f34 100644
--- a/sys/dev/softraid_concat.c
+++ b/sys/dev/softraid_concat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid_concat.c,v 1.9 2013/01/18 11:14:48 jsing Exp $ */
+/* $OpenBSD: softraid_concat.c,v 1.10 2013/03/02 12:25:55 jsing Exp $ */
/*
* Copyright (c) 2008 Marco Peereboom <marco@peereboom.us>
* Copyright (c) 2011 Joel Sing <jsing@openbsd.org>
@@ -227,7 +227,7 @@ sr_concat_intr(struct buf *bp)
int s;
DNPRINTF(SR_D_INTR, "%s: %s %s intr bp %x xs %x\n",
- DEVNAME(sd->sd_sc), sd->ssd_meta.ssd_devname, sd->sd_name, bp, xs);
+ DEVNAME(sd->sd_sc), sd->sd_meta->ssd_devname, sd->sd_name, bp, xs);
s = splbio();
sr_ccb_done(ccb);
diff --git a/sys/dev/softraid_raid0.c b/sys/dev/softraid_raid0.c
index 3edc851eb02..5c85b87b068 100644
--- a/sys/dev/softraid_raid0.c
+++ b/sys/dev/softraid_raid0.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid_raid0.c,v 1.33 2013/01/18 11:48:05 jsing Exp $ */
+/* $OpenBSD: softraid_raid0.c,v 1.34 2013/03/02 12:25:55 jsing Exp $ */
/*
* Copyright (c) 2008 Marco Peereboom <marco@peereboom.us>
*
@@ -254,7 +254,7 @@ sr_raid0_intr(struct buf *bp)
int s;
DNPRINTF(SR_D_INTR, "%s: %s %s intr bp %x xs %x\n",
- DEVNAME(sd->sd_sc), sd->sd_meta.ssd_name, sd->sd_name, bp, xs);
+ DEVNAME(sd->sd_sc), sd->sd_meta->ssd_devname, sd->sd_name, bp, xs);
s = splbio();
sr_ccb_done(ccb);