tools: iio: Send error messages to stderr
authorCristina Opriceana <cristina.opriceana@gmail.com>
Fri, 17 Jul 2015 15:43:42 +0000 (18:43 +0300)
committerJonathan Cameron <jic23@kernel.org>
Mon, 20 Jul 2015 17:41:24 +0000 (18:41 +0100)
commitd9abc615ea1659b6967a00e95b1b3a7fd4079b80
tree6eac43b77eccb14c697c50bf7ccea372c0e3e918
parent34cbea1908fb686b037e01e5b1ab8e0e67b09ed3
tools: iio: Send error messages to stderr

This patch indends to make some cleanup and send printf
error messages to stderr. The changes were performed with coccinelle
for failure messages and manual for other cases, such as wrong usage
messages.

Signed-off-by: Cristina Opriceana <cristina.opriceana@gmail.com>
Reviewed-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
tools/iio/generic_buffer.c
tools/iio/iio_event_monitor.c
tools/iio/iio_utils.c
tools/iio/lsiio.c