summaryrefslogtreecommitdiff
path: root/sbin/bioctl/bioctl.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2012-01-17 14:01:03 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2012-01-17 14:01:03 +0000
commit2ee577b426ec5c04f61fcf5c2340358657f420c9 (patch)
tree288395abc319e17c71bdf049d3e353f78dc3a348 /sbin/bioctl/bioctl.c
parent8c45d8ed9e7b6ae8035c20c4aa6b2ece7c995784 (diff)
CONCAT requires at least two disks.
Diffstat (limited to 'sbin/bioctl/bioctl.c')
-rw-r--r--sbin/bioctl/bioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/bioctl/bioctl.c b/sbin/bioctl/bioctl.c
index fa3d2b4788c..bd1a4287e34 100644
--- a/sbin/bioctl/bioctl.c
+++ b/sbin/bioctl/bioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bioctl.c,v 1.105 2012/01/07 12:16:46 jsing Exp $ */
+/* $OpenBSD: bioctl.c,v 1.106 2012/01/17 14:01:02 jsing Exp $ */
/*
* Copyright (c) 2004, 2005 Marco Peereboom
@@ -792,7 +792,7 @@ bio_createraid(u_int16_t level, char *dev_list, char *key_disk)
min_disks = 1;
break;
case 'c':
- min_disks = 1;
+ min_disks = 2;
break;
case 'a':
break;