summaryrefslogtreecommitdiffstats
path: root/lib/libgpib
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-02-12 15:49:20 +0000
committerphk <phk@FreeBSD.org>2005-02-12 15:49:20 +0000
commit1ddeaa4538ff1720aada9720547f27779cf891eb (patch)
tree6282fe81e1f641b71c34b5959d2508967fff1232 /lib/libgpib
parentf36bba96f5e5614dcc392eb6e43a8fa8342a8b9c (diff)
downloadFreeBSD-src-1ddeaa4538ff1720aada9720547f27779cf891eb.zip
FreeBSD-src-1ddeaa4538ff1720aada9720547f27779cf891eb.tar.gz
Use the eot argument field for ibeot().
Diffstat (limited to 'lib/libgpib')
-rw-r--r--lib/libgpib/ibfoo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libgpib/ibfoo.c b/lib/libgpib/ibfoo.c
index 19c61ef..4fda2d8 100644
--- a/lib/libgpib/ibfoo.c
+++ b/lib/libgpib/ibfoo.c
@@ -199,14 +199,14 @@ ibeos (int handle, int eos)
}
int
-ibeot (int handle, int v)
+ibeot (int handle, int eot)
{
struct ibfoo_iocarg io;
io.__ident = __ID_IBEOT;
io.handle = handle;
- io.v = v;
- io.__field = __F_HANDLE | __F_V;
+ io.eot = eot;
+ io.__field = __F_HANDLE | __F_EOT;
return (__ibsubmit(&io));
}
OpenPOWER on IntegriCloud