Skip to content
Commit 6ee39f80 authored by David Wagner's avatar David Wagner Committed by Anatolij Gustschin
Browse files

mkenvimage: Use mmap() when reading from a regular file



Fall back to read() if it fails.

Signed-off-by: default avatarDavid Wagner <david.wagner@free-electrons.com>
Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 48995b5a
Loading
Loading
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