diff options
author | 2011-11-08 18:02:37 +0000 | |
---|---|---|
committer | 2011-11-08 18:02:37 +0000 | |
commit | 28fd4bca4812a8e8e81ab8d3c16c19ec460bd1f9 (patch) | |
tree | 007715122311c548ac81e868dc704b1149223641 /sys/dev/softraid.c | |
parent | merge cpu_coredump() back to where it belongs, ok drahn miod (diff) | |
download | wireguard-openbsd-28fd4bca4812a8e8e81ab8d3c16c19ec460bd1f9.tar.xz wireguard-openbsd-28fd4bca4812a8e8e81ab8d3c16c19ec460bd1f9.zip |
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", |