summaryrefslogtreecommitdiffstats
path: root/lib/libgpib/ibfoo.c
diff options
context:
space:
mode:
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 0ac2a0d..541b915 100644
--- a/lib/libgpib/ibfoo.c
+++ b/lib/libgpib/ibfoo.c
@@ -466,14 +466,14 @@ ibrsv (int handle, int v)
}
int
-ibsad (int handle, int v)
+ibsad (int handle, int sad)
{
struct ibarg io;
io.__ident = __ID_IBSAD;
io.handle = handle;
- io.v = v;
- io.__field = __F_HANDLE | __F_V;
+ io.sad = v;
+ io.__field = __F_HANDLE | __F_SAD;
return (__ibsubmit(&io));
}
OpenPOWER on IntegriCloud