From: Hartmut Knaack Date: Sun, 31 May 2015 12:39:47 +0000 (+0200) Subject: tools:iio:lsiio: add closedir before exit X-Git-Tag: omap-for-v4.3/legacy-v2-signed~121^2~256^2~46 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f96d055e4b38c64123f211f0521f834d649cd01c;p=pandora-kernel.git tools:iio:lsiio: add closedir before exit In dump_channels() the DIR *dp was left open on exit. Close it and check for errors. Signed-off-by: Hartmut Knaack Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed