diff options
author | Adrian Hunter <ext-adrian.hunter@nokia.com> | 2008-01-07 09:49:25 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-01-15 11:53:07 +0200 |
commit | 07e6203fd3078d6855e7d33597bdbbae10e555fd (patch) | |
tree | f5ddc76bfdf7985f47b77c38f6c0171562908af2 /ubi-utils/inc/libubi.h | |
parent | 9ba41c4dc891e38c92126bfcc4c366d765841da0 (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 'ubi-utils/inc/libubi.h')
0 files changed, 0 insertions, 0 deletions