summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2009-06-10 21:37:18 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2009-06-10 21:37:18 +0000
commitae45ed2ee301ce6560933358207e65cdcc31877b (patch)
treec6deca5e47e01854db1e98950b3e876be62800e8
parent67a527d0c50ebba9d5f2756a2ca616a366fcda18 (diff)
Typo
-rw-r--r--sys/dev/softraid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c
index f5c70d03265..ea734fd9f60 100644
--- a/sys/dev/softraid.c
+++ b/sys/dev/softraid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid.c,v 1.146 2009/06/10 03:24:02 marco Exp $ */
+/* $OpenBSD: softraid.c,v 1.147 2009/06/10 21:37:17 marco Exp $ */
/*
* Copyright (c) 2007 Marco Peereboom <marco@peereboom.us>
* Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org>
@@ -2060,7 +2060,7 @@ sr_ioctl_createraid(struct sr_softc *sc, struct bioc_createraid *bc, int user)
case 5:
if (no_chunk < 3)
goto unwind;
- id ((bc->bc_level == 4)
+ if (bc->bc_level == 4)
strlcpy(sd->sd_name, "RAID 4", sizeof(sd->sd_name));
else
strlcpy(sd->sd_name, "RAID 5", sizeof(sd->sd_name));