diff options
| author | 2013-03-31 15:46:11 +0000 | |
|---|---|---|
| committer | 2013-03-31 15:46:11 +0000 | |
| commit | 12f5f2829e72e757cf7344afe42b846666afa803 (patch) | |
| tree | 55ce3ab3bf2a9bed01d7b0a3ebda009f75095a40 /sys/dev/softraid.c | |
| parent | Use consistent error handling when validating the number of chunks (diff) | |
| download | wireguard-openbsd-12f5f2829e72e757cf7344afe42b846666afa803.tar.xz wireguard-openbsd-12f5f2829e72e757cf7344afe42b846666afa803.zip | |
Use the discipline name instead of the product string when reporting the
attachment.
Diffstat (limited to 'sys/dev/softraid.c')
| -rw-r--r-- | sys/dev/softraid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c index c85dc829ceb..3a71a25c643 100644 --- a/sys/dev/softraid.c +++ b/sys/dev/softraid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid.c,v 1.298 2013/03/31 11:37:40 jsing Exp $ */ +/* $OpenBSD: softraid.c,v 1.299 2013/03/31 15:46:11 jsing Exp $ */ /* * Copyright (c) 2007, 2008, 2009 Marco Peereboom <marco@peereboom.us> * Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org> @@ -3495,7 +3495,7 @@ sr_ioctl_createraid(struct sr_softc *sc, struct bioc_createraid *bc, sizeof(sd->sd_meta->ssd_devname)); sr_info(sc, "%s volume attached as %s", - sd->sd_meta->ssdi.ssd_product, sd->sd_meta->ssd_devname); + sd->sd_name, sd->sd_meta->ssd_devname); /* Update device name on any roaming chunks. */ sr_roam_chunks(sd); |
