diff options
Diffstat (limited to 'sys/dev/softraid.c')
-rw-r--r-- | sys/dev/softraid.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c index be0f31dcfad..b29dace7b0b 100644 --- a/sys/dev/softraid.c +++ b/sys/dev/softraid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid.c,v 1.149 2009/06/12 16:00:25 jsing Exp $ */ +/* $OpenBSD: softraid.c,v 1.150 2009/06/12 17:22:52 jsing Exp $ */ /* * Copyright (c) 2007 Marco Peereboom <marco@peereboom.us> * Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org> @@ -2114,17 +2114,19 @@ sr_ioctl_createraid(struct sr_softc *sc, struct bioc_createraid *bc, int user) if (no_chunk < 3) goto unwind; if (bc->bc_level == 4) - strlcpy(sd->sd_name, "RAID 4", sizeof(sd->sd_name)); + strlcpy(sd->sd_name, "RAID 4", + sizeof(sd->sd_name)); else - strlcpy(sd->sd_name, "RAID 5", sizeof(sd->sd_name)); + strlcpy(sd->sd_name, "RAID 5", + sizeof(sd->sd_name)); /* * XXX add variable strip size later even though * MAXPHYS is really the clever value, users like * to tinker with that type of stuff */ strip_size = MAXPHYS; - vol_size = - ch_entry->src_meta.scmi.scm_coerced_size * (no_chunk - 1); + vol_size = ch_entry->src_meta.scmi.scm_coerced_size * + (no_chunk - 1); break; #endif /* not_yet */ #ifdef AOE |