summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2013-03-31 11:30:59 +0000
committerjsing <jsing@openbsd.org>2013-03-31 11:30:59 +0000
commit523e7e35bec804b7f16e349bf0c46628b0917f7a (patch)
tree6e303aa84d27234f53e131d9ef5f4aa209b1ea6f /sys/dev/softraid.c
parentThe call to in_pcballoc() in user request attach was handled in (diff)
downloadwireguard-openbsd-523e7e35bec804b7f16e349bf0c46628b0917f7a.tar.xz
wireguard-openbsd-523e7e35bec804b7f16e349bf0c46628b0917f7a.zip
Fix compilation with debug.
Diffstat (limited to 'sys/dev/softraid.c')
-rw-r--r--sys/dev/softraid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c
index f53c3643890..f582fa31f46 100644
--- a/sys/dev/softraid.c
+++ b/sys/dev/softraid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid.c,v 1.296 2013/03/31 11:12:06 jsing Exp $ */
+/* $OpenBSD: softraid.c,v 1.297 2013/03/31 11:30:59 jsing Exp $ */
/*
* Copyright (c) 2007, 2008, 2009 Marco Peereboom <marco@peereboom.us>
* Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org>
@@ -3540,8 +3540,8 @@ sr_ioctl_deleteraid(struct sr_softc *sc, struct bioc_deleteraid *bd)
struct sr_discipline *sd;
int rv = 1;
- DNPRINTF(SR_D_IOCTL, "%s: sr_ioctl_deleteraid %s\n", DEVNAME(sc),
- dr->bd_dev);
+ DNPRINTF(SR_D_IOCTL, "%s: sr_ioctl_deleteraid %s\n",
+ DEVNAME(sc), bd->bd_dev);
TAILQ_FOREACH(sd, &sc->sc_dis_list, sd_link) {
if (!strncmp(sd->sd_meta->ssd_devname, bd->bd_dev,