Skip to content
Commit 9db426a7 authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

irmap: Properly compare stat vs proc devices



The s_dev value we see in irmap is get from proc file and is
raw kernel dev_t. We compare this value to the device get from
stat syscall, which is old-style dev_t (with less bits for minor).

Thus, need to convert kernel dev_t to stat's dev_t for proper
comparison.

Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent edde5fb4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment