diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-05-03 15:02:58 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-05-20 12:48:41 +0300 |
commit | 6baa47e6b91363fa6b760d2a5592dc3fd3991b26 (patch) | |
tree | 2e75cb56c450e9151807b84db5617734c4bc8a23 /ubi-utils/include/libubi.h | |
parent | b722a1afe37eab14a5482c9e1efd5e6d625fa171 (diff) |
fs-tests: integck: check errno in pvc macro
All errors but write errors have corresponding CHECK(), so if something
gets wrong we fail. But in case of I/O errors we do not fail if an
unexpected error happens, which makes it difficult to trace issues.
Inject the errno checking to the pvc macro to make sure we fail if
errno is not EROFS.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/include/libubi.h')
0 files changed, 0 insertions, 0 deletions