summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarco <marco@openbsd.org>2006-05-26 00:38:30 +0000
committermarco <marco@openbsd.org>2006-05-26 00:38:30 +0000
commit649724a42bb175c01a3dc103dea796531525823c (patch)
tree4ecf0b4a7a18325e30a212260393c63aa2b8648c
parentadd support for timedelta sensors, which pretty much means udcf(4) right (diff)
downloadwireguard-openbsd-649724a42bb175c01a3dc103dea796531525823c.tar.xz
wireguard-openbsd-649724a42bb175c01a3dc103dea796531525823c.zip
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;