diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-05-25 22:26:04 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-05-25 22:26:04 +0000 |
commit | 63ecc6af789c128d2a53ae1e51a4cc415b322a6e (patch) | |
tree | 059341f5b8680b9eebf807a3a0d1a9f52a802f2a /sbin/bioctl/bioctl.c | |
parent | fcbf41382faf76f6494968949b12845ee4061a72 (diff) |
handle Online/Scrub SD state for marco
Diffstat (limited to 'sbin/bioctl/bioctl.c')
-rw-r--r-- | sbin/bioctl/bioctl.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/bioctl/bioctl.c b/sbin/bioctl/bioctl.c index 254dd8bd136..2d192774a90 100644 --- a/sbin/bioctl/bioctl.c +++ b/sbin/bioctl/bioctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bioctl.c,v 1.43 2006/05/25 04:28:26 deraadt Exp $ */ +/* $OpenBSD: bioctl.c,v 1.44 2006/05/25 22:26:03 deraadt Exp $ */ /* * Copyright (c) 2004, 2005 Marco Peereboom @@ -346,6 +346,9 @@ bio_inq(char *name) case BIOC_SDUNUSED: status = BIOC_SDUNUSED_S; break; + case BIOC_SDSCRUB: + status = BIOC_SDSCRUB_S; + break; case BIOC_SDINVALID: default: status = BIOC_SDINVALID_S; |