tools:iio:generic_buffer: catch errors for arguments conversion
authorHartmut Knaack <knaack.h@gmx.de>
Sun, 31 May 2015 12:40:03 +0000 (14:40 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 31 May 2015 18:22:57 +0000 (19:22 +0100)
commitc8ce9903cba202936999c2c9463fbb370ee145ba
treefec16789a067e4358e32c1344dae3ea6d4a81d48
parente9e45b43b8f06273d9b78f187042dff0bf5be0a5
tools:iio:generic_buffer: catch errors for arguments conversion

Add handler to catch errors on conversion of numerical arguments.

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