diff options
author | Andy Shevchenko <ext-andriy.shevchenko@nokia.com> | 2011-04-05 17:32:29 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-04-05 17:41:02 +0300 |
commit | a70811466de2c4c0c3a538e5e04a4dd1a8fbcc03 (patch) | |
tree | b82457da57879384ef276c5131bfae6b3d7cf92d /tests/ubi-tests/io_update.c | |
parent | 1bf8fb86ef192bc182a0c7cecdfc0792d6555fda (diff) |
tests: jittertest: fix set of compiler warnings
- time() was used without prototype.
- the return value of read() and write() wasn't checked
- classificator in printf() was wrong for argument of size_t type
Don't continue to read the /proc/profile in case when write was failed.
Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'tests/ubi-tests/io_update.c')
0 files changed, 0 insertions, 0 deletions