aboutsummaryrefslogtreecommitdiff
path: root/lib/libgpib/ibfoo.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2005-02-12 15:49:20 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2005-02-12 15:49:20 +0000
commit39add42b21a56630b580de4de17184685be213cf (patch)
tree6282fe81e1f641b71c34b5959d2508967fff1232 /lib/libgpib/ibfoo.c
parentb07785ef50b7e2d51bef0f0dd002550f7c0111d5 (diff)
downloadsrc-39add42b21a56630b580de4de17184685be213cf.tar.gz
src-39add42b21a56630b580de4de17184685be213cf.zip
Use the eot argument field for ibeot().
Notes
Notes: svn path=/head/; revision=141736
Diffstat (limited to 'lib/libgpib/ibfoo.c')
-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 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));
}