summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2006-05-26 00:38:31 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2006-05-26 00:38:31 +0000
commita19cf3bd7aa8feb27dbecb238728ae4e943afbb7 (patch)
treea1b82d7b1e997c0cada45d4a3fc5ef6f8852b4a0
parent4bb07fcc094f0b525bac6d922d4db201cb24eb5e (diff)
Assign locator.target to blink structure.
-rw-r--r--sbin/bioctl/bioctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/bioctl/bioctl.c b/sbin/bioctl/bioctl.c
index 2d192774a90..eaf73baad0b 100644
--- a/sbin/bioctl/bioctl.c
+++ b/sbin/bioctl/bioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bioctl.c,v 1.44 2006/05/25 22:26:03 deraadt Exp $ */
+/* $OpenBSD: bioctl.c,v 1.45 2006/05/26 00:38:30 marco Exp $ */
/*
* Copyright (c) 2004, 2005 Marco Peereboom
@@ -481,6 +481,7 @@ bio_setblink(char *name, char *arg, int blink)
bb.bb_cookie = bl.bl_cookie;
bb.bb_status = blink;
bb.bb_target = location.target;
+ bb.bb_channel = location.channel;
rv = ioctl(devh, BIOCBLINK, &bb);
if (rv == 0)
return;