summaryrefslogtreecommitdiff
path: root/sbin/bioctl/bioctl.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-08-23 23:20:24 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-08-23 23:20:24 +0000
commitc874affa56f5681517a99cbfea67c64a38c3cc4d (patch)
treedfb6cb9072e84bf2801690f61aafa4bbfe48f359 /sbin/bioctl/bioctl.c
parent23be20a7a539465bb3d68578e019d4a38e82b439 (diff)
disable -B support for now; ok dlg
Diffstat (limited to 'sbin/bioctl/bioctl.c')
-rw-r--r--sbin/bioctl/bioctl.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/sbin/bioctl/bioctl.c b/sbin/bioctl/bioctl.c
index fe9edfc49a0..d3823771c54 100644
--- a/sbin/bioctl/bioctl.c
+++ b/sbin/bioctl/bioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bioctl.c,v 1.38 2005/08/23 03:59:32 deraadt Exp $ */
+/* $OpenBSD: bioctl.c,v 1.39 2005/08/23 23:20:23 deraadt Exp $ */
/*
* Copyright (c) 2004, 2005 Marco Peereboom
@@ -82,7 +82,7 @@ main(int argc, char *argv[])
if (argc < 2)
usage();
- while ((ch = getopt(argc, argv, "b:B:u:H:ha:Div")) != -1) {
+ while ((ch = getopt(argc, argv, "b:u:H:ha:Div")) != -1) {
switch (ch) {
case 'a': /* alarm */
func |= BIOC_ALARM;
@@ -93,11 +93,6 @@ main(int argc, char *argv[])
blink = BIOC_SBBLINK;
bl_arg = optarg;
break;
- case 'B': /* alarm blink */
- func |= BIOC_BLINK;
- blink = BIOC_SBALARM;
- bl_arg = optarg;
- break;
case 'u': /* unblink */
func |= BIOC_BLINK;
blink = BIOC_SBUNBLINK;
@@ -179,7 +174,7 @@ usage(void)
extern char *__progname;
fprintf(stderr, "usage: %s [-Dhiv] [-a alarm-function]"
- " [[-bBHu] chan:targ[.lun]] device\n", __progname);
+ " [[-bHu] chan:targ[.lun]] device\n", __progname);
exit(1);
}