commit | cd7e1a31195a59159499ea0c60dfa81d684a45f1 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Thu May 01 04:13:05 2008 -0400 |
committer | Wolfgang Denk <wd@denx.de> | Sat May 03 23:33:43 2008 +0200 |
tree | cbd40a8c1d8fa8dd3c431c26e9ab4e0b9b840f2c | |
parent | 0e4bbd89a27ed94e1f9fed2886c035c11649b5af [diff] |
mkimage: make mmap() checks consistent The mmap() related code is full of inconsistent casts/constants when it comes to error checking, and may break when building on some systems (like ones that do not implicitly define the caddr_t type). Let's just avoid the whole mess by writing the code nice and clean in the first place. Signed-off-by: Mike Frysinger <vapier@gentoo.org>