summaryrefslogtreecommitdiff
path: root/sbin/bioctl/bioctl.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-05-25 22:26:04 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-05-25 22:26:04 +0000
commit63ecc6af789c128d2a53ae1e51a4cc415b322a6e (patch)
tree059341f5b8680b9eebf807a3a0d1a9f52a802f2a /sbin/bioctl/bioctl.c
parentfcbf41382faf76f6494968949b12845ee4061a72 (diff)
handle Online/Scrub SD state for marco
Diffstat (limited to 'sbin/bioctl/bioctl.c')
-rw-r--r--sbin/bioctl/bioctl.c5
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;