diff options
author | phk <phk@FreeBSD.org> | 2005-02-12 15:49:20 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2005-02-12 15:49:20 +0000 |
commit | 1ddeaa4538ff1720aada9720547f27779cf891eb (patch) | |
tree | 6282fe81e1f641b71c34b5959d2508967fff1232 | |
parent | f36bba96f5e5614dcc392eb6e43a8fa8342a8b9c (diff) | |
download | FreeBSD-src-1ddeaa4538ff1720aada9720547f27779cf891eb.zip FreeBSD-src-1ddeaa4538ff1720aada9720547f27779cf891eb.tar.gz |
Use the eot argument field for ibeot().
-rw-r--r-- | lib/libgpib/ibfoo.c | 6 |
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)); } |