]> granicus.if.org Git - strace/commit
loop: print lo_encrypt_key_size field of struct loop_info as unsigned
authorEugene Syromyatnikov <evgsyr@gmail.com>
Sun, 1 Jan 2017 19:19:18 +0000 (22:19 +0300)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 4 Jan 2017 13:22:19 +0000 (13:22 +0000)
commit426b63f3fa7b0a512b6617833270f2da4dc55e94
tree5bd87cef8a9c7d20dfa17661e8bf1d04fa09acda
parent1ccc55eed2e92fef71b157d26c1a36fc89a42161
loop: print lo_encrypt_key_size field of struct loop_info as unsigned

It is converted to an unsigned value in kernel (see loop_info64_from_old
in drivers/block/loop.c), so let's print it that way despite its type.

* loop.c (decode_loop_info): Print lo_encrypt_key_size as an uint32_t
value.
loop.c