summaryrefslogtreecommitdiff
path: root/net/phonet
diff options
context:
space:
mode:
authorHartmut Knaack <knaack.h@gmx.de>2015-05-31 15:39:48 +0300
committerJonathan Cameron <jic23@kernel.org>2015-05-31 19:32:44 +0300
commit2b6a6e67af6f8f644a48f75efc1f44544c0d74f6 (patch)
treeffff341e8cdb92e06abd46628219495c5c2e7066 /net/phonet
parentf96d055e4b38c64123f211f0521f834d649cd01c (diff)
downloadlinux-2b6a6e67af6f8f644a48f75efc1f44544c0d74f6.tar.xz
tools:iio: save errno first
The man-page of errno states, that errno should be saved before doing any library call, as that call may have changed the value of errno. So, when encountering any error, save errno first. This patch affects generic_buffer.c, iio_event_monitor.c and iio_utils.c. Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'net/phonet')
0 files changed, 0 insertions, 0 deletions