diff options
author | Hartmut Knaack <knaack.h@gmx.de> | 2015-05-31 14:39:49 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-05-31 18:34:05 +0200 |
commit | 5fdb8c6127c3c594360fb5f2959a724809c0032e (patch) | |
tree | e4d479970a72bb4ca332f9515e1ef8ff7cd4a0e7 /tools/iio/generic_buffer.c | |
parent | tools:iio: save errno first (diff) | |
download | linux-5fdb8c6127c3c594360fb5f2959a724809c0032e.tar.xz linux-5fdb8c6127c3c594360fb5f2959a724809c0032e.zip |
tools:iio:iio_event_monitor: save right errno
Move up error handling code to preserve the errno coming from ioctl(),
before it may be changed by close().
Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/iio/generic_buffer.c')
0 files changed, 0 insertions, 0 deletions