diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2011-11-08 18:02:38 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2011-11-08 18:02:38 +0000 |
commit | 12982205255a286aa9949676295d37663d6559ed (patch) | |
tree | b02ea1108b29f5a1a9928210b89677b057c19461 /sys/dev/softraid.c | |
parent | a91c3dd3fabdb81f6fb687b6d5d92150686c24d1 (diff) |
Typo. BIOC_SSOFFLINE is the ioctl command. Pass BIOC_SDOFFLINE to
sd_set_chunk_state() as the new state.
ok jsing@
Diffstat (limited to 'sys/dev/softraid.c')
-rw-r--r-- | sys/dev/softraid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c index 4d4bf1a7b80..c2791904662 100644 --- a/sys/dev/softraid.c +++ b/sys/dev/softraid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid.c,v 1.251 2011/09/19 21:47:37 jsing Exp $ */ +/* $OpenBSD: softraid.c,v 1.252 2011/11/08 18:02:37 krw Exp $ */ /* * Copyright (c) 2007, 2008, 2009 Marco Peereboom <marco@peereboom.us> * Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org> @@ -2470,7 +2470,7 @@ sr_ioctl_setstate(struct sr_softc *sc, struct bioc_setstate *bs) } /* XXX: check current state first */ - sd->sd_set_chunk_state(sd, c, BIOC_SSOFFLINE); + sd->sd_set_chunk_state(sd, c, BIOC_SDOFFLINE); if (sr_meta_save(sd, SR_META_DIRTY)) { printf("%s: could not save metadata to %s\n", |