libxencall: Improve linux syscall error messages
authorIan Jackson <ian.jackson@eu.citrix.com>
Mon, 15 Oct 2018 14:22:53 +0000 (15:22 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Tue, 30 Oct 2018 17:03:31 +0000 (17:03 +0000)
commitf355ed8448bc5685af749ebbd3b3816f3c8f927a
tree98088bc2c4037ec9d6e5e6da34227921041b49a0
parent65c0bcc47103fe839b959dfdfa61a91f745d78b1
libxencall: Improve linux syscall error messages

Make the bufdev and non-bufdev messages distinct, and always print the
non-constant argument (ie, the size).

This assists diagnosis.

CC: Andrew Cooper <andrew.cooper3@citrix.com>
CC: Hans van Kranenburg <hans@knorrie.org>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libs/call/linux.c