HomeFreeBSD

Fix __retval vs. retval confusion: retval is meant to store the (userland)

Description

Fix retval vs. retval confusion: retval is meant to store the (userland)
pointer where data is to be returned by ibask() (currently unimplemented),
while
retval holds the value returned by the libgpib ibfoo() functions.

The confusion resulted in the ibfoo() functions returning an uninitialized
value except in situations where the GPIB activity has been terminated
abnormally.

MFC after: 3 days

Details

Provenance
joergAuthored on Dec 10 2010, 2:04 PM
Parents
rGb0032ab5f881: Add a .note.ABI-tag section to ia64 startup files by linking crtbrand.c
Branches
Unknown
Tags
Unknown

Event Timeline