Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cpio): correct dev_t -> rmajor/rminor mapping
dev_t -> major/minor number mapping is more complicated than the incorrect major=(dev_t >> 8) minor=(dev_t & 0xff) mapping that we currently perform. Fix mapping to match Linux / glibc behaviour. Fixes: #1695 Reported-by: Ethan Wu <ethanwu10@gmail.com> Signed-off-by: David Disseldorp <ddiss@suse.de>
- Loading branch information