diff --git a/lib/libgpib/ibfoo.c b/lib/libgpib/ibfoo.c index 19c61ef76661..4fda2d804481 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)); }