diff options
author | 2009-06-12 17:22:52 +0000 | |
---|---|---|
committer | 2009-06-12 17:22:52 +0000 | |
commit | 12571afd0833d7aa45b2eab6833c32d31198685c (patch) | |
tree | 0cc376db73e0a98d2f944b9342fcca86aae7e7e9 /sys/dev/softraid.c | |
parent | the TZ list cannot fit onto the floppies (diff) | |
download | wireguard-openbsd-12571afd0833d7aa45b2eab6833c32d31198685c.tar.xz wireguard-openbsd-12571afd0833d7aa45b2eab6833c32d31198685c.zip |
KNF and wrap at 80 columns.
ok marco@
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 |