Skip to content
Snippets Groups Projects
Commit fa956fde authored by Mike Frysinger's avatar Mike Frysinger Committed by Wolfgang Denk
Browse files

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: default avatarMike Frysinger <vapier@gentoo.org>
parent 8e90cd04
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment