summaryrefslogtreecommitdiff
path: root/tests/fs-tests/lib/tests.h
diff options
context:
space:
mode:
authorAdrian Hunter <ext-adrian.hunter@nokia.com>2008-01-07 09:49:25 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-01-15 11:53:07 +0200
commit07e6203fd3078d6855e7d33597bdbbae10e555fd (patch)
treef5ddc76bfdf7985f47b77c38f6c0171562908af2 /tests/fs-tests/lib/tests.h
parent9ba41c4dc891e38c92126bfcc4c366d765841da0 (diff)
ubi-utils: fix bug using readdir
Library functions never reset errno to zero, so if you want to use its value to check for errors then you must set it to zero before calling the library function (in this case readdir). Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'tests/fs-tests/lib/tests.h')
0 files changed, 0 insertions, 0 deletions