summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorAlexander Hall <halex@cvs.openbsd.org>2009-06-18 08:05:52 +0000
committerAlexander Hall <halex@cvs.openbsd.org>2009-06-18 08:05:52 +0000
commitadb053e0a22b998202fa2a7ada9c3d95f95defda (patch)
tree584112ded1b8f89a239ce7d5cdecc138321035d7 /sbin
parent9a3901afc3cef857365c7c86696597ead2f7a506 (diff)
fix crypto raid error message
ok marco@
Diffstat (limited to 'sbin')
-rw-r--r--sbin/bioctl/bioctl.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/bioctl/bioctl.c b/sbin/bioctl/bioctl.c
index 94716c4f447..7c31b62a99e 100644
--- a/sbin/bioctl/bioctl.c
+++ b/sbin/bioctl/bioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bioctl.c,v 1.79 2009/06/17 22:50:58 marco Exp $ */
+/* $OpenBSD: bioctl.c,v 1.80 2009/06/18 08:05:51 halex Exp $ */
/*
* Copyright (c) 2004, 2005 Marco Peereboom
@@ -718,8 +718,7 @@ bio_createraid(u_int16_t level, char *dev_list)
/* for crypto raid we only allow one single chunk */
if (level == 'C' && no_dev != min_disks)
- errx(1, "not exactly one disks");
-
+ errx(1, "not exactly one partition");
memset(&create, 0, sizeof(create));
create.bc_cookie = bl.bl_cookie;