tools:iio:iio_event_monitor: add error handling
authorHartmut Knaack <knaack.h@gmx.de>
Sun, 31 May 2015 12:40:05 +0000 (14:40 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 31 May 2015 18:25:12 +0000 (19:25 +0100)
commit963f54cef23b7e8c91bbe60b978b5f4a3e990f2c
tree34b452ec0d0695fd41b269e18c0850ca0ff7b474
parent6bb7cac8551e2d60edbd25a6d046cc45932c4c3e
tools:iio:iio_event_monitor: add error handling

Add error handling to calls which can indicate a major problem by
returning an error code.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
tools/iio/iio_event_monitor.c